} catch (URISyntaxException e) {
<BUG>e.printStackTrace();
}</BUG>
}
<BUG>public Producer createProducer() throws Exception {
CometdProducer producer = new CometdProducer(this);</BUG>
return producer;
}
<BUG>public Consumer createConsumer(Processor processor) throws Exception {
CometdConsumer consumer = new CometdConsumer(this, processor);</BUG>
return consumer;

} catch (URISyntaxException e) {
throw new IllegalArgumentException(e);
}
}
public Producer createProducer() throws Exception {
ObjectHelper.notNull(component, "component");
CometdProducer producer = new CometdProducer(this);
return producer;
}
public Consumer createConsumer(Processor processor) throws Exception {
ObjectHelper.notNull(component, "component");
CometdConsumer consumer = new CometdConsumer(this, processor);
