public static interface WebsocketComponentBuilderFactory.WebsocketComponentBuilder extends ComponentBuilder<org.apache.camel.component.websocket.WebsocketComponent>
| Modifier and Type | Method and Description |
|---|---|
default WebsocketComponentBuilderFactory.WebsocketComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
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 |
subprotocol(String subprotocol)
This is a comma-separated list of subprotocols that are supported by
the application.
|
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)
host - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder port(Integer port)
port - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder staticResources(String staticResources)
staticResources - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder enableJmx(boolean enableJmx)
enableJmx - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder maxThreads(Integer maxThreads)
maxThreads - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder minThreads(Integer minThreads)
minThreads - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder subprotocol(String subprotocol)
subprotocol - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder threadPool(org.eclipse.jetty.util.thread.ThreadPool threadPool)
threadPool - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
sslContextParameters - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder sslKeyPassword(String sslKeyPassword)
sslKeyPassword - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder sslKeystore(String sslKeystore)
sslKeystore - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder sslPassword(String sslPassword)
sslPassword - the value to setdefault WebsocketComponentBuilderFactory.WebsocketComponentBuilder useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
useGlobalSslContextParameters - the value to setApache Camel