@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 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)
Sets a maximum thread pool size for the netty consumer ordered thread pool.
|
void |
setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.
|
afterConfiguration, createEndpoint, createEndpoint, doBuild, doInit, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitretrieveGlobalSslContextParametersgetCamelContext, setCamelContext, trySetCamelContextpublic 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.DefaultComponentExceptionprotected NettyConfiguration parseConfiguration(NettyConfiguration configuration, String remaining, Map<String,Object> parameters) throws Exception
Exceptionpublic 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.SSLContextParametersAwarepublic void setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
setUseGlobalSslContextParameters in interface org.apache.camel.SSLContextParametersAwarepublic io.netty.util.concurrent.EventExecutorGroup getExecutorService()
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultComponentExceptionApache Camel