public class NettyEndpoint
extends org.apache.camel.impl.DefaultEndpoint
| Constructor and Description |
|---|
NettyEndpoint(String endpointUri,
NettyComponent component,
NettyConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
protected String |
createEndpointUri() |
org.apache.camel.Exchange |
createExchange(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent messageEvent) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
protected void |
enrichWithClientCertInformation(SSLSession sslSession,
org.apache.camel.Message message)
Enriches the message with client certificate details such as subject name, serial number etc.
|
NettyComponent |
getComponent() |
NettyConfiguration |
getConfiguration() |
protected SSLSession |
getSSLSession(org.jboss.netty.channel.ChannelHandlerContext ctx) |
org.jboss.netty.util.Timer |
getTimer() |
boolean |
isSingleton() |
void |
setConfiguration(NettyConfiguration configuration) |
void |
setTimer(org.jboss.netty.util.Timer timer) |
protected void |
updateMessageHeader(org.apache.camel.Message in,
org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent messageEvent) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createExchange, createExchange, createExchange, createPollingConsumer, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic NettyEndpoint(String endpointUri, NettyComponent component, NettyConfiguration configuration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic org.apache.camel.Exchange createExchange(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent messageEvent)
throws Exception
Exceptionpublic boolean isSingleton()
public NettyComponent getComponent()
getComponent in class org.apache.camel.impl.DefaultEndpointpublic NettyConfiguration getConfiguration()
public void setConfiguration(NettyConfiguration configuration)
public void setTimer(org.jboss.netty.util.Timer timer)
public org.jboss.netty.util.Timer getTimer()
protected String createEndpointUri()
createEndpointUri in class org.apache.camel.impl.DefaultEndpointprotected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultEndpointExceptionprotected SSLSession getSSLSession(org.jboss.netty.channel.ChannelHandlerContext ctx)
protected void updateMessageHeader(org.apache.camel.Message in,
org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent messageEvent)
protected void enrichWithClientCertInformation(SSLSession sslSession, org.apache.camel.Message message)
sslSession - the SSL sessionmessage - the message to enrichApache Camel