|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.cometd.CometdProducer
public class CometdProducer
A Producer to send messages using Cometd and Bayeux protocol.
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.impl.DefaultProducer |
|---|
log |
| Constructor Summary | |
|---|---|
CometdProducer(CometdEndpoint endpoint)
|
|
| Method Summary | |
|---|---|
org.cometd.server.AbstractBayeux |
getBayeux()
|
CometdEndpoint |
getEndpoint()
Gets the endpoint |
void |
process(org.apache.camel.Exchange exchange)
|
void |
setBayeux(org.cometd.server.AbstractBayeux bayeux)
Sets the bayeux to use. |
void |
start()
|
void |
stop()
|
| Methods inherited from class org.apache.camel.impl.DefaultProducer |
|---|
createExchange, createExchange, createExchange, doStart, doStop, isSingleton, toString |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
|---|
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CometdProducer(CometdEndpoint endpoint)
| Method Detail |
|---|
public void start()
throws Exception
start in interface org.apache.camel.Servicestart in class org.apache.camel.impl.ServiceSupportException
public void stop()
throws Exception
stop in interface org.apache.camel.Servicestop in class org.apache.camel.impl.ServiceSupportExceptionpublic void process(org.apache.camel.Exchange exchange)
process in interface org.apache.camel.Processorpublic CometdEndpoint getEndpoint()
CometdProducerConsumer
getEndpoint in interface CometdProducerConsumergetEndpoint in interface org.apache.camel.ProducergetEndpoint in class org.apache.camel.impl.DefaultProducerpublic org.cometd.server.AbstractBayeux getBayeux()
public void setBayeux(org.cometd.server.AbstractBayeux bayeux)
CometdProducerConsumer
setBayeux in interface CometdProducerConsumer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||