@UriEndpoint(firstVersion="2.14.0",
scheme="netty",
title="Netty",
syntax="netty:protocol://host:port",
category={NETWORKING,TCP,UDP})
public class NettyEndpoint
extends org.apache.camel.support.DefaultEndpoint
implements org.apache.camel.AsyncEndpoint
| 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.Producer |
createProducer() |
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(io.netty.channel.ChannelHandlerContext ctx) |
boolean |
isSynchronous() |
void |
setConfiguration(NettyConfiguration configuration) |
void |
setSynchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used
|
void |
updateMessageHeader(org.apache.camel.Message in,
io.netty.channel.ChannelHandlerContext ctx) |
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitconfigureExchange, configureProperties, createAsyncProducer, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isSingletonProducer, setCamelContextpublic NettyEndpoint(String endpointUri, NettyComponent component, NettyConfiguration configuration)
public boolean isSynchronous()
public void setSynchronous(boolean synchronous)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointExceptionpublic NettyComponent getComponent()
getComponent in class org.apache.camel.support.DefaultEndpointpublic NettyConfiguration getConfiguration()
public void setConfiguration(NettyConfiguration configuration)
protected String createEndpointUri()
createEndpointUri in class org.apache.camel.support.DefaultEndpointprotected SSLSession getSSLSession(io.netty.channel.ChannelHandlerContext ctx)
public void updateMessageHeader(org.apache.camel.Message in,
io.netty.channel.ChannelHandlerContext ctx)
protected void enrichWithClientCertInformation(SSLSession sslSession, org.apache.camel.Message message)
sslSession - the SSL sessionmessage - the message to enrichApache Camel