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 |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
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)
boolean type.
Default: true
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder brokerUrl(String brokerUrl)
java.lang.String type.
Default: tcp://localhost:1883
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder cleanSession(boolean cleanSession)
boolean type.
Default: true
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder clientId(String clientId)
java.lang.String type.
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder configuration(org.apache.camel.component.paho.PahoConfiguration configuration)
org.apache.camel.component.paho.PahoConfiguration type.
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder connectionTimeout(int connectionTimeout)
int type.
Default: 30
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder filePersistenceDirectory(String filePersistenceDirectory)
java.lang.String type.
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder keepAliveInterval(int keepAliveInterval)
int type.
Default: 60
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder maxInflight(int maxInflight)
int type.
Default: 10
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder maxReconnectDelay(int maxReconnectDelay)
int type.
Default: 128000
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder mqttVersion(int mqttVersion)
int type.
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder persistence(org.apache.camel.component.paho.PahoPersistence persistence)
org.apache.camel.component.paho.PahoPersistence type.
Default: MEMORY
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder qos(int qos)
int type.
Default: 2
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder retained(boolean retained)
boolean type.
Default: false
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder serverURIs(String serverURIs)
java.lang.String type.
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder willPayload(String willPayload)
java.lang.String type.
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder willQos(int willQos)
int type.
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder willRetained(boolean willRetained)
boolean type.
Default: false
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder willTopic(String willTopic)
java.lang.String type.
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault PahoComponentBuilderFactory.PahoComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault PahoComponentBuilderFactory.PahoComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault PahoComponentBuilderFactory.PahoComponentBuilder client(org.eclipse.paho.client.mqttv3.MqttClient client)
org.eclipse.paho.client.mqttv3.MqttClient type.
Group: advanceddefault PahoComponentBuilderFactory.PahoComponentBuilder customWebSocketHeaders(Properties customWebSocketHeaders)
java.util.Properties type.
Group: advanceddefault PahoComponentBuilderFactory.PahoComponentBuilder executorServiceTimeout(int executorServiceTimeout)
int type.
Default: 1
Group: advanceddefault PahoComponentBuilderFactory.PahoComponentBuilder httpsHostnameVerificationEnabled(boolean httpsHostnameVerificationEnabled)
boolean type.
Default: true
Group: securitydefault PahoComponentBuilderFactory.PahoComponentBuilder password(String password)
java.lang.String type.
Group: securitydefault PahoComponentBuilderFactory.PahoComponentBuilder socketFactory(SocketFactory socketFactory)
javax.net.SocketFactory type.
Group: securitydefault PahoComponentBuilderFactory.PahoComponentBuilder sslClientProps(Properties sslClientProps)
java.util.Properties type.
Group: securitydefault PahoComponentBuilderFactory.PahoComponentBuilder sslHostnameVerifier(HostnameVerifier sslHostnameVerifier)
javax.net.ssl.HostnameVerifier type.
Group: securitydefault PahoComponentBuilderFactory.PahoComponentBuilder userName(String userName)
java.lang.String type.
Group: securityApache Camel