public static interface PahoComponentBuilderFactory.PahoComponentBuilder extends ComponentBuilder<org.apache.camel.component.paho.PahoComponent>
| Modifier and Type | Method and Description |
|---|---|
default PahoComponentBuilderFactory.PahoComponentBuilder |
automaticReconnect(boolean automaticReconnect)
Sets whether the client will automatically attempt to reconnect to
the server if the connection is lost.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
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 PahoComponentBuilderFactory.PahoComponentBuilder |
brokerUrl(String brokerUrl)
The URL of the MQTT broker.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
cleanSession(boolean cleanSession)
Sets whether the client and server should remember state across
restarts and reconnects.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
client(org.eclipse.paho.client.mqttv3.MqttClient client)
To use a shared Paho client.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
clientId(String clientId)
MQTT client identifier.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
configuration(org.apache.camel.component.paho.PahoConfiguration configuration)
To use the shared Paho configuration.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
connectionTimeout(int connectionTimeout)
Sets the connection timeout value.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
customWebSocketHeaders(Properties customWebSocketHeaders)
Sets the Custom WebSocket Headers for the WebSocket Connection.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
executorServiceTimeout(int executorServiceTimeout)
Set the time in seconds that the executor service should wait when
terminating before forcefully terminating.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
filePersistenceDirectory(String filePersistenceDirectory)
Base directory used by file persistence.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
httpsHostnameVerificationEnabled(boolean httpsHostnameVerificationEnabled)
Whether SSL HostnameVerifier is enabled or not.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
keepAliveInterval(int keepAliveInterval)
Sets the keep alive interval.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
maxInflight(int maxInflight)
Sets the max inflight.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
maxReconnectDelay(int maxReconnectDelay)
Get the maximum time (in millis) to wait between reconnects.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
mqttVersion(int mqttVersion)
Sets the MQTT version.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
password(String password)
Password to be used for authentication against the MQTT broker.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
persistence(org.apache.camel.component.paho.PahoPersistence persistence)
Client persistence to be used - memory or file.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
qos(int qos)
Client quality of service level (0-2).
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
retained(boolean retained)
Retain option.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
serverURIs(String serverURIs)
Set a list of one or more serverURIs the client may connect to.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
socketFactory(SocketFactory socketFactory)
Sets the SocketFactory to use.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
sslClientProps(Properties sslClientProps)
Sets the SSL properties for the connection.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
sslHostnameVerifier(HostnameVerifier sslHostnameVerifier)
Sets the HostnameVerifier for the SSL connection.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
userName(String userName)
Username to be used for authentication against the MQTT broker.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
willPayload(String willPayload)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
willQos(int willQos)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
willRetained(boolean willRetained)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
willTopic(String willTopic)
Sets the Last Will and Testament (LWT) for the connection.
|
build, build, doSetProperty, registerdefault PahoComponentBuilderFactory.PahoComponentBuilder automaticReconnect(boolean automaticReconnect)
automaticReconnect - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder brokerUrl(String brokerUrl)
brokerUrl - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder cleanSession(boolean cleanSession)
cleanSession - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder clientId(String clientId)
clientId - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder configuration(org.apache.camel.component.paho.PahoConfiguration configuration)
configuration - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder connectionTimeout(int connectionTimeout)
connectionTimeout - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder filePersistenceDirectory(String filePersistenceDirectory)
filePersistenceDirectory - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder keepAliveInterval(int keepAliveInterval)
keepAliveInterval - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder maxInflight(int maxInflight)
maxInflight - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder maxReconnectDelay(int maxReconnectDelay)
maxReconnectDelay - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder mqttVersion(int mqttVersion)
mqttVersion - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder persistence(org.apache.camel.component.paho.PahoPersistence persistence)
persistence - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder qos(int qos)
qos - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder retained(boolean retained)
retained - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder serverURIs(String serverURIs)
serverURIs - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder willPayload(String willPayload)
willPayload - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder willQos(int willQos)
willQos - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder willRetained(boolean willRetained)
willRetained - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder willTopic(String willTopic)
willTopic - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder client(org.eclipse.paho.client.mqttv3.MqttClient client)
client - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder customWebSocketHeaders(Properties customWebSocketHeaders)
customWebSocketHeaders - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder executorServiceTimeout(int executorServiceTimeout)
executorServiceTimeout - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder httpsHostnameVerificationEnabled(boolean httpsHostnameVerificationEnabled)
httpsHostnameVerificationEnabled - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder password(String password)
password - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder socketFactory(SocketFactory socketFactory)
socketFactory - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder sslClientProps(Properties sslClientProps)
sslClientProps - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder sslHostnameVerifier(HostnameVerifier sslHostnameVerifier)
sslHostnameVerifier - the value to setdefault PahoComponentBuilderFactory.PahoComponentBuilder userName(String userName)
userName - the value to setApache Camel