@UriEndpoint(firstVersion="2.14.0",
scheme="netty4",
title="Netty4",
syntax="netty4:protocol:host:port",
consumerClass=NettyConsumer.class,
label="networking,tcp,udp")
public class NettyEndpoint
extends org.apache.camel.impl.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.Exchange |
createExchange(io.netty.channel.ChannelHandlerContext ctx,
Object message) |
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 |
isSingleton() |
void |
setConfiguration(NettyConfiguration configuration) |
protected void |
updateMessageHeader(org.apache.camel.Message in,
io.netty.channel.ChannelHandlerContext ctx) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic NettyEndpoint(String endpointUri, NettyComponent component, NettyConfiguration configuration)
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 org.apache.camel.Exchange createExchange(io.netty.channel.ChannelHandlerContext ctx,
Object message)
throws Exception
Exceptionpublic boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonpublic NettyComponent getComponent()
getComponent in class org.apache.camel.impl.DefaultEndpointpublic NettyConfiguration getConfiguration()
public void setConfiguration(NettyConfiguration configuration)
protected String createEndpointUri()
createEndpointUri in class org.apache.camel.impl.DefaultEndpointprotected SSLSession getSSLSession(io.netty.channel.ChannelHandlerContext ctx)
protected 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