public static interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default PahoEndpointBuilderFactory.AdvancedPahoEndpointConsumerBuilder |
advanced() |
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
automaticReconnect(boolean automaticReconnect)
Sets whether the client will automatically attempt to reconnect to
the server if the connection is lost.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
automaticReconnect(String automaticReconnect)
Sets whether the client will automatically attempt to reconnect to
the server if the connection is lost.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
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 PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
bridgeErrorHandler(String 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 PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
brokerUrl(String brokerUrl)
The URL of the MQTT broker.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
cleanSession(boolean cleanSession)
Sets whether the client and server should remember state across
restarts and reconnects.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
cleanSession(String cleanSession)
Sets whether the client and server should remember state across
restarts and reconnects.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
clientId(String clientId)
MQTT client identifier.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
connectionTimeout(int connectionTimeout)
Sets the connection timeout value.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
connectionTimeout(String connectionTimeout)
Sets the connection timeout value.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
filePersistenceDirectory(String filePersistenceDirectory)
Base directory used by file persistence.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
httpsHostnameVerificationEnabled(boolean httpsHostnameVerificationEnabled)
Whether SSL HostnameVerifier is enabled or not.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
httpsHostnameVerificationEnabled(String httpsHostnameVerificationEnabled)
Whether SSL HostnameVerifier is enabled or not.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
keepAliveInterval(int keepAliveInterval)
Sets the keep alive interval.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
keepAliveInterval(String keepAliveInterval)
Sets the keep alive interval.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
maxInflight(int maxInflight)
Sets the max inflight.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
maxInflight(String maxInflight)
Sets the max inflight.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
maxReconnectDelay(int maxReconnectDelay)
Get the maximum time (in millis) to wait between reconnects.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
maxReconnectDelay(String maxReconnectDelay)
Get the maximum time (in millis) to wait between reconnects.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
mqttVersion(int mqttVersion)
Sets the MQTT version.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
mqttVersion(String mqttVersion)
Sets the MQTT version.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
password(String password)
Password to be used for authentication against the MQTT broker.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
persistence(PahoEndpointBuilderFactory.PahoPersistence persistence)
Client persistence to be used - memory or file.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
persistence(String persistence)
Client persistence to be used - memory or file.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
qos(int qos)
Client quality of service level (0-2).
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
qos(String qos)
Client quality of service level (0-2).
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
retained(boolean retained)
Retain option.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
retained(String retained)
Retain option.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
serverURIs(String serverURIs)
Set a list of one or more serverURIs the client may connect to.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
socketFactory(Object socketFactory)
Sets the SocketFactory to use.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
socketFactory(String socketFactory)
Sets the SocketFactory to use.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
sslClientProps(Properties sslClientProps)
Sets the SSL properties for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
sslClientProps(String sslClientProps)
Sets the SSL properties for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
sslHostnameVerifier(Object sslHostnameVerifier)
Sets the HostnameVerifier for the SSL connection.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
sslHostnameVerifier(String sslHostnameVerifier)
Sets the HostnameVerifier for the SSL connection.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
userName(String userName)
Username to be used for authentication against the MQTT broker.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
willPayload(String willPayload)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
willQos(int willQos)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
willQos(String willQos)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
willRetained(boolean willRetained)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
willRetained(String willRetained)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder |
willTopic(String willTopic)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoEndpointBuilderFactory.AdvancedPahoEndpointConsumerBuilder advanced()
default PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder automaticReconnect(boolean automaticReconnect)
automaticReconnect - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder automaticReconnect(String automaticReconnect)
automaticReconnect - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder brokerUrl(String brokerUrl)
brokerUrl - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder cleanSession(boolean cleanSession)
cleanSession - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder cleanSession(String cleanSession)
cleanSession - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder clientId(String clientId)
clientId - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder connectionTimeout(int connectionTimeout)
connectionTimeout - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder connectionTimeout(String connectionTimeout)
connectionTimeout - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder filePersistenceDirectory(String filePersistenceDirectory)
filePersistenceDirectory - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder keepAliveInterval(int keepAliveInterval)
keepAliveInterval - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder keepAliveInterval(String keepAliveInterval)
keepAliveInterval - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder maxInflight(int maxInflight)
maxInflight - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder maxInflight(String maxInflight)
maxInflight - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder maxReconnectDelay(int maxReconnectDelay)
maxReconnectDelay - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder maxReconnectDelay(String maxReconnectDelay)
maxReconnectDelay - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder mqttVersion(int mqttVersion)
mqttVersion - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder mqttVersion(String mqttVersion)
mqttVersion - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder persistence(PahoEndpointBuilderFactory.PahoPersistence persistence)
persistence - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder persistence(String persistence)
persistence - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder qos(int qos)
qos - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder qos(String qos)
qos - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder retained(boolean retained)
retained - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder retained(String retained)
retained - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder serverURIs(String serverURIs)
serverURIs - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder willPayload(String willPayload)
willPayload - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder willQos(int willQos)
willQos - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder willQos(String willQos)
willQos - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder willRetained(boolean willRetained)
willRetained - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder willRetained(String willRetained)
willRetained - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder willTopic(String willTopic)
willTopic - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder httpsHostnameVerificationEnabled(boolean httpsHostnameVerificationEnabled)
httpsHostnameVerificationEnabled - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder httpsHostnameVerificationEnabled(String httpsHostnameVerificationEnabled)
httpsHostnameVerificationEnabled - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder password(String password)
password - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder socketFactory(Object socketFactory)
socketFactory - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder socketFactory(String socketFactory)
socketFactory - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder sslClientProps(Properties sslClientProps)
sslClientProps - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder sslClientProps(String sslClientProps)
sslClientProps - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder sslHostnameVerifier(Object sslHostnameVerifier)
sslHostnameVerifier - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder sslHostnameVerifier(String sslHostnameVerifier)
sslHostnameVerifier - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder userName(String userName)
userName - the value to setApache Camel