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)
boolean type.
Default: true
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder automaticReconnect(String automaticReconnect)
boolean type.
Default: true
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder brokerUrl(String brokerUrl)
java.lang.String type.
Default: tcp://localhost:1883
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder cleanSession(boolean cleanSession)
boolean type.
Default: true
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder cleanSession(String cleanSession)
boolean type.
Default: true
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder clientId(String clientId)
java.lang.String type.
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder connectionTimeout(int connectionTimeout)
int type.
Default: 30
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder connectionTimeout(String connectionTimeout)
int type.
Default: 30
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder filePersistenceDirectory(String filePersistenceDirectory)
java.lang.String type.
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder keepAliveInterval(int keepAliveInterval)
int type.
Default: 60
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder keepAliveInterval(String keepAliveInterval)
int type.
Default: 60
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder maxInflight(int maxInflight)
int type.
Default: 10
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder maxInflight(String maxInflight)
int type.
Default: 10
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder maxReconnectDelay(int maxReconnectDelay)
int type.
Default: 128000
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder maxReconnectDelay(String maxReconnectDelay)
int type.
Default: 128000
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder mqttVersion(int mqttVersion)
int type.
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder mqttVersion(String mqttVersion)
int type.
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder persistence(PahoEndpointBuilderFactory.PahoPersistence persistence)
org.apache.camel.component.paho.PahoPersistence type.
Default: MEMORY
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder persistence(String persistence)
org.apache.camel.component.paho.PahoPersistence type.
Default: MEMORY
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder qos(int qos)
int type.
Default: 2
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder qos(String qos)
int type.
Default: 2
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder retained(boolean retained)
boolean type.
Default: false
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder retained(String retained)
boolean type.
Default: false
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder serverURIs(String serverURIs)
java.lang.String type.
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder willPayload(String willPayload)
java.lang.String type.
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder willQos(int willQos)
int type.
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder willQos(String willQos)
int type.
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder willRetained(boolean willRetained)
boolean type.
Default: false
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder willRetained(String willRetained)
boolean type.
Default: false
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder willTopic(String willTopic)
java.lang.String type.
Group: commondefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder httpsHostnameVerificationEnabled(boolean httpsHostnameVerificationEnabled)
boolean type.
Default: true
Group: securitydefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder httpsHostnameVerificationEnabled(String httpsHostnameVerificationEnabled)
boolean type.
Default: true
Group: securitydefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder password(String password)
java.lang.String type.
Group: securitydefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder socketFactory(Object socketFactory)
javax.net.SocketFactory type.
Group: securitydefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder socketFactory(String socketFactory)
javax.net.SocketFactory type.
Group: securitydefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder sslClientProps(Properties sslClientProps)
java.util.Properties type.
Group: securitydefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder sslClientProps(String sslClientProps)
java.util.Properties
type.
Group: securitydefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder sslHostnameVerifier(Object sslHostnameVerifier)
javax.net.ssl.HostnameVerifier type.
Group: securitydefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder sslHostnameVerifier(String sslHostnameVerifier)
javax.net.ssl.HostnameVerifier type.
Group: securitydefault PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder userName(String userName)
java.lang.String type.
Group: securityApache Camel