org.apache.camel.component.netty
Class NettyEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.netty.NettyEndpoint
- All Implemented Interfaces:
- CamelContextAware, Endpoint, IsSingleton, Service, HasId
public class NettyEndpoint
- extends DefaultEndpoint
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isLenientProperties, isSynchronous, sanitizeUri, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, stop, toString |
NettyEndpoint
public NettyEndpoint(String endpointUri,
NettyComponent component,
NettyConfiguration configuration)
createConsumer
public Consumer createConsumer(Processor processor)
throws Exception
- Throws:
Exception
createProducer
public Producer createProducer()
throws Exception
- Throws:
Exception
createExchange
public Exchange createExchange(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent messageEvent)
isSingleton
public boolean isSingleton()
getConfiguration
public NettyConfiguration getConfiguration()
setConfiguration
public void setConfiguration(NettyConfiguration configuration)
setTimer
public void setTimer(org.jboss.netty.util.Timer timer)
getTimer
public org.jboss.netty.util.Timer getTimer()
start
public void start()
throws Exception
- Specified by:
start
in interface Service
- Overrides:
start
in class DefaultEndpoint
- Throws:
Exception
Apache CAMEL