|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultConsumer
org.apache.camel.component.cometd.CometdConsumer
public class CometdConsumer
A Consumer for receiving messages using Cometd and Bayeux protocol.
Nested Class Summary | |
---|---|
static class |
CometdConsumer.ConsumerService
|
Field Summary |
---|
Fields inherited from class org.apache.camel.impl.DefaultConsumer |
---|
log |
Fields inherited from class org.apache.camel.support.ServiceSupport |
---|
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
Constructor Summary | |
---|---|
CometdConsumer(CometdEndpoint endpoint,
org.apache.camel.Processor processor)
|
Method Summary | |
---|---|
CometdConsumer.ConsumerService |
getConsumerService()
|
CometdEndpoint |
getEndpoint()
Gets the endpoint |
void |
setBayeux(org.cometd.server.BayeuxServerImpl bayeux)
Sets the bayeux to use. |
void |
start()
|
void |
stop()
|
Methods inherited from class org.apache.camel.impl.DefaultConsumer |
---|
doStart, doStop, getAsyncProcessor, getExceptionHandler, getProcessor, handleException, handleException, setExceptionHandler, toString |
Methods inherited from class org.apache.camel.support.ServiceSupport |
---|
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, suspend |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CometdConsumer(CometdEndpoint endpoint, org.apache.camel.Processor processor)
Method Detail |
---|
public void start() throws Exception
start
in interface org.apache.camel.Service
start
in class org.apache.camel.support.ServiceSupport
Exception
public void stop() throws Exception
stop
in interface org.apache.camel.Service
stop
in class org.apache.camel.support.ServiceSupport
Exception
public void setBayeux(org.cometd.server.BayeuxServerImpl bayeux)
CometdProducerConsumer
setBayeux
in interface CometdProducerConsumer
public CometdEndpoint getEndpoint()
CometdProducerConsumer
getEndpoint
in interface CometdProducerConsumer
getEndpoint
in interface org.apache.camel.Consumer
getEndpoint
in class org.apache.camel.impl.DefaultConsumer
public CometdConsumer.ConsumerService getConsumerService()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |