public static interface WebsocketComponentBuilderFactory.WebsocketComponentBuilder extends ComponentBuilder<org.apache.camel.component.websocket.WebsocketComponent>
| Modifier and Type | Method and Description |
|---|---|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
enableJmx(boolean enableJmx)
If this option is true, Jetty JMX support will be enabled for this
endpoint.
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
host(String host)
The hostname.
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
maxThreads(Integer maxThreads)
To set a value for maximum number of threads in server thread pool.
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
minThreads(Integer minThreads)
To set a value for minimum number of threads in server thread pool.
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
port(Integer port)
The port number.
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
sslKeyPassword(String sslKeyPassword)
The password for the keystore when using SSL.
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
sslKeystore(String sslKeystore)
The path to the keystore.
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
sslPassword(String sslPassword)
The password when using SSL.
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
staticResources(String staticResources)
Set a resource path for static resources (such as .html files etc).
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
threadPool(org.eclipse.jetty.util.thread.ThreadPool threadPool)
To use a custom thread pool for the server.
|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.
|
build, build, doSetProperty, registerdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder host(String host)
java.lang.String type.
Default: 0.0.0.0
Group: commondefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder port(Integer port)
java.lang.Integer type.
Default: 9292
Group: commondefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder staticResources(String staticResources)
java.lang.String type.
Group: consumerdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder enableJmx(boolean enableJmx)
boolean type.
Default: false
Group: advanceddefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder maxThreads(Integer maxThreads)
java.lang.Integer type.
Group: advanceddefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder minThreads(Integer minThreads)
java.lang.Integer type.
Group: advanceddefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder threadPool(org.eclipse.jetty.util.thread.ThreadPool threadPool)
org.eclipse.jetty.util.thread.ThreadPool type.
Group: advanceddefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
org.apache.camel.support.jsse.SSLContextParameters type.
Group: securitydefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder sslKeyPassword(String sslKeyPassword)
java.lang.String type.
Group: securitydefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder sslKeystore(String sslKeystore)
java.lang.String type.
Group: securitydefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder sslPassword(String sslPassword)
java.lang.String type.
Group: securitydefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
boolean type.
Default: false
Group: securityApache Camel