public class CometdConsumer extends org.apache.camel.impl.DefaultConsumer implements CometdProducerConsumer
| Modifier and Type | Class and Description |
|---|---|
static class |
CometdConsumer.ConsumerService |
| Constructor and Description |
|---|
CometdConsumer(CometdEndpoint endpoint,
org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
CometdConsumer.ConsumerService |
getConsumerService() |
CometdEndpoint |
getEndpoint()
Gets the endpoint
|
void |
setBayeux(org.cometd.server.BayeuxServerImpl bayeux)
Sets the bayeux to use.
|
void |
start() |
void |
stop() |
createUoW, doneUoW, doStart, doStop, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toStringpublic CometdConsumer(CometdEndpoint endpoint, org.apache.camel.Processor processor)
public void start()
throws Exception
start in interface org.apache.camel.Servicestart in class org.apache.camel.support.ServiceSupportExceptionpublic void stop()
throws Exception
stop in interface org.apache.camel.Servicestop in class org.apache.camel.support.ServiceSupportExceptionpublic void setBayeux(org.cometd.server.BayeuxServerImpl bayeux)
CometdProducerConsumersetBayeux in interface CometdProducerConsumerpublic CometdEndpoint getEndpoint()
CometdProducerConsumergetEndpoint in interface CometdProducerConsumergetEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.impl.DefaultConsumerpublic CometdConsumer.ConsumerService getConsumerService()
Apache Camel