@Component(value="netty")
public class NettyComponent
extends org.apache.camel.support.DefaultComponent
implements org.apache.camel.SSLContextParametersAware
Constructor and Description |
---|
NettyComponent() |
NettyComponent(org.apache.camel.CamelContext context) |
NettyComponent(Class<? extends org.apache.camel.Endpoint> endpointClass) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected io.netty.util.concurrent.EventExecutorGroup |
createExecutorService() |
protected void |
doStart() |
protected void |
doStop() |
NettyConfiguration |
getConfiguration() |
io.netty.util.concurrent.EventExecutorGroup |
getExecutorService() |
int |
getMaximumPoolSize() |
boolean |
isUseGlobalSslContextParameters() |
protected NettyConfiguration |
parseConfiguration(NettyConfiguration configuration,
String remaining,
Map<String,Object> parameters)
Parses the configuration
|
void |
setConfiguration(NettyConfiguration configuration)
To use the NettyConfiguration as configuration when creating endpoints.
|
void |
setExecutorService(io.netty.util.concurrent.EventExecutorGroup executorService)
To use the given EventExecutorGroup.
|
void |
setMaximumPoolSize(int maximumPoolSize)
The thread pool size for the EventExecutorGroup if its in use.
|
void |
setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) |
void |
setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.
|
afterConfiguration, createEndpoint, createEndpoint, doInit, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
build, doBuild, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
retrieveGlobalSslContextParameters
public NettyComponent()
public NettyComponent(Class<? extends org.apache.camel.Endpoint> endpointClass)
public NettyComponent(org.apache.camel.CamelContext context)
public int getMaximumPoolSize()
public void setMaximumPoolSize(int maximumPoolSize)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.support.DefaultComponent
Exception
protected NettyConfiguration parseConfiguration(NettyConfiguration configuration, String remaining, Map<String,Object> parameters) throws Exception
Exception
public NettyConfiguration getConfiguration()
public void setConfiguration(NettyConfiguration configuration)
public void setExecutorService(io.netty.util.concurrent.EventExecutorGroup executorService)
public boolean isUseGlobalSslContextParameters()
isUseGlobalSslContextParameters
in interface org.apache.camel.SSLContextParametersAware
public void setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
setUseGlobalSslContextParameters
in interface org.apache.camel.SSLContextParametersAware
@Metadata(description="To configure security using SSLContextParameters", label="security") public void setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
public io.netty.util.concurrent.EventExecutorGroup getExecutorService()
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.DefaultComponent
Exception
protected io.netty.util.concurrent.EventExecutorGroup createExecutorService()
Apache Camel