org.apache.camel.component.cometd
Class CometdConsumer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultConsumer
org.apache.camel.component.cometd.CometdConsumer
- All Implemented Interfaces:
- CometdProducerConsumer, Consumer, Service
public class CometdConsumer
- extends DefaultConsumer
- implements CometdProducerConsumer
A Consumer for receiving messages using Cometd and Bayeux protocol.
- Version:
- $Revision: 3448 $
CometdConsumer
public CometdConsumer(CometdEndpoint endpoint,
Processor processor)
start
public void start()
throws Exception
- Specified by:
start in interface Service- Overrides:
start in class ServiceSupport
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop in interface Service- Overrides:
stop in class ServiceSupport
- Throws:
Exception
setBayeux
public void setBayeux(org.mortbay.cometd.AbstractBayeux bayeux)
- Description copied from interface:
CometdProducerConsumer
- Sets the bayeux to use.
- Specified by:
setBayeux in interface CometdProducerConsumer
getEndpoint
public CometdEndpoint getEndpoint()
- Description copied from interface:
CometdProducerConsumer
- Gets the endpoint
- Specified by:
getEndpoint in interface CometdProducerConsumer- Specified by:
getEndpoint in interface Consumer- Overrides:
getEndpoint in class DefaultConsumer
Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.