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