public class NettyComponent
extends org.apache.camel.impl.UriEndpointComponent
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 |
setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.
|
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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.impl.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
public io.netty.util.concurrent.EventExecutorGroup getExecutorService()
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultComponent
Exception
protected io.netty.util.concurrent.EventExecutorGroup createExecutorService()
Apache Camel