org.apache.camel.component.cometd
Class CometdEndpoint
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.cometd.CometdEndpoint
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId
public class CometdEndpoint
- extends org.apache.camel.impl.DefaultEndpoint
Endpoint for Camel Cometd.
- Version:
- $Revision:520964 $
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isLenientProperties, isSynchronous, sanitizeUri, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, 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, start, stop, suspend |
| Methods inherited from interface org.apache.camel.Service |
start, stop |
CometdEndpoint
public CometdEndpoint(CometdComponent component,
String uri,
String remaining,
Map<String,Object> parameters)
createProducer
public org.apache.camel.Producer createProducer()
throws Exception
- Throws:
Exception
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
- Throws:
Exception
connect
public void connect(CometdProducerConsumer prodcons)
throws Exception
- Throws:
Exception
disconnect
public void disconnect(CometdProducerConsumer prodcons)
throws Exception
- Throws:
Exception
getComponent
public CometdComponent getComponent()
- Overrides:
getComponent in class org.apache.camel.impl.DefaultEndpoint
isSingleton
public boolean isSingleton()
getPath
public String getPath()
getPort
public int getPort()
getProtocol
public String getProtocol()
getUri
public URI getUri()
getBaseResource
public String getBaseResource()
setBaseResource
public void setBaseResource(String baseResource)
getTimeout
public int getTimeout()
setTimeout
public void setTimeout(int timeout)
getInterval
public int getInterval()
setInterval
public void setInterval(int interval)
getMaxInterval
public int getMaxInterval()
setMaxInterval
public void setMaxInterval(int maxInterval)
getMultiFrameInterval
public int getMultiFrameInterval()
setMultiFrameInterval
public void setMultiFrameInterval(int multiFrameInterval)
isJsonCommented
public boolean isJsonCommented()
setJsonCommented
public void setJsonCommented(boolean commented)
getLogLevel
public int getLogLevel()
setLogLevel
public void setLogLevel(int logLevel)
Apache CAMEL