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 org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor |
createExecutorService() |
protected void |
doStart() |
protected void |
doStop() |
NettyConfiguration |
getConfiguration() |
org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor |
getExecutorService() |
int |
getMaximumPoolSize() |
org.jboss.netty.util.Timer |
getTimer() |
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 |
setMaximumPoolSize(int maximumPoolSize)
The core pool size for the ordered thread pool, if its in use.
|
void |
setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.
|
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClassafterConfiguration, 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, validateURIdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic NettyComponent()
public NettyComponent(Class<? extends org.apache.camel.Endpoint> endpointClass)
public NettyComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.impl.DefaultComponentExceptionprotected NettyConfiguration parseConfiguration(NettyConfiguration configuration, String remaining, Map<String,Object> parameters) throws Exception
Exceptionpublic NettyConfiguration getConfiguration()
public void setConfiguration(NettyConfiguration configuration)
public int getMaximumPoolSize()
public void setMaximumPoolSize(int maximumPoolSize)
public boolean isUseGlobalSslContextParameters()
isUseGlobalSslContextParameters in interface org.apache.camel.SSLContextParametersAwarepublic void setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
setUseGlobalSslContextParameters in interface org.apache.camel.SSLContextParametersAwarepublic org.jboss.netty.util.Timer getTimer()
public org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor getExecutorService()
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultComponentExceptionprotected org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor createExecutorService()
Apache Camel