public static interface PahoEndpointBuilderFactory.PahoEndpointBuilder extends PahoEndpointBuilderFactory.PahoEndpointConsumerBuilder, PahoEndpointBuilderFactory.PahoEndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilder |
advanced() |
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
automaticReconnect(boolean automaticReconnect)
Sets whether the client will automatically attempt to reconnect to
the server if the connection is lost.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
automaticReconnect(String automaticReconnect)
Sets whether the client will automatically attempt to reconnect to
the server if the connection is lost.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
brokerUrl(String brokerUrl)
The URL of the MQTT broker.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
cleanSession(boolean cleanSession)
Sets whether the client and server should remember state across
restarts and reconnects.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
cleanSession(String cleanSession)
Sets whether the client and server should remember state across
restarts and reconnects.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
clientId(String clientId)
MQTT client identifier.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
connectionTimeout(int connectionTimeout)
Sets the connection timeout value.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
connectionTimeout(String connectionTimeout)
Sets the connection timeout value.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
filePersistenceDirectory(String filePersistenceDirectory)
Base directory used by file persistence.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
httpsHostnameVerificationEnabled(boolean httpsHostnameVerificationEnabled)
Whether SSL HostnameVerifier is enabled or not.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
httpsHostnameVerificationEnabled(String httpsHostnameVerificationEnabled)
Whether SSL HostnameVerifier is enabled or not.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
keepAliveInterval(int keepAliveInterval)
Sets the keep alive interval.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
keepAliveInterval(String keepAliveInterval)
Sets the keep alive interval.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
maxInflight(int maxInflight)
Sets the max inflight.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
maxInflight(String maxInflight)
Sets the max inflight.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
maxReconnectDelay(int maxReconnectDelay)
Get the maximum time (in millis) to wait between reconnects.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
maxReconnectDelay(String maxReconnectDelay)
Get the maximum time (in millis) to wait between reconnects.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
mqttVersion(int mqttVersion)
Sets the MQTT version.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
mqttVersion(String mqttVersion)
Sets the MQTT version.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
password(String password)
Password to be used for authentication against the MQTT broker.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
persistence(PahoEndpointBuilderFactory.PahoPersistence persistence)
Client persistence to be used - memory or file.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
persistence(String persistence)
Client persistence to be used - memory or file.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
qos(int qos)
Client quality of service level (0-2).
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
qos(String qos)
Client quality of service level (0-2).
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
retained(boolean retained)
Retain option.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
retained(String retained)
Retain option.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
serverURIs(String serverURIs)
Set a list of one or more serverURIs the client may connect to.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
socketFactory(Object socketFactory)
Sets the SocketFactory to use.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
socketFactory(String socketFactory)
Sets the SocketFactory to use.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
sslClientProps(Properties sslClientProps)
Sets the SSL properties for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
sslClientProps(String sslClientProps)
Sets the SSL properties for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
sslHostnameVerifier(Object sslHostnameVerifier)
Sets the HostnameVerifier for the SSL connection.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
sslHostnameVerifier(String sslHostnameVerifier)
Sets the HostnameVerifier for the SSL connection.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
userName(String userName)
Username to be used for authentication against the MQTT broker.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
willPayload(String willPayload)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
willQos(int willQos)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
willQos(String willQos)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
willRetained(boolean willRetained)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
willRetained(String willRetained)
Sets the Last Will and Testament (LWT) for the connection.
|
default PahoEndpointBuilderFactory.PahoEndpointBuilder |
willTopic(String willTopic)
Sets the Last Will and Testament (LWT) for the connection.
|
bridgeErrorHandler, bridgeErrorHandlerdoSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, expr, getUrilazyStartProducer, lazyStartProducerdefault PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilder advanced()
advanced in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderadvanced in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderdefault PahoEndpointBuilderFactory.PahoEndpointBuilder automaticReconnect(boolean automaticReconnect)
automaticReconnect in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderautomaticReconnect in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderautomaticReconnect - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder automaticReconnect(String automaticReconnect)
automaticReconnect in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderautomaticReconnect in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderautomaticReconnect - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder brokerUrl(String brokerUrl)
brokerUrl in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderbrokerUrl in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderbrokerUrl - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder cleanSession(boolean cleanSession)
cleanSession in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildercleanSession in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildercleanSession - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder cleanSession(String cleanSession)
cleanSession in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildercleanSession in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildercleanSession - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder clientId(String clientId)
clientId in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderclientId in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderclientId - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder connectionTimeout(int connectionTimeout)
connectionTimeout in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderconnectionTimeout in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderconnectionTimeout - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder connectionTimeout(String connectionTimeout)
connectionTimeout in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderconnectionTimeout in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderconnectionTimeout - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder filePersistenceDirectory(String filePersistenceDirectory)
filePersistenceDirectory in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderfilePersistenceDirectory in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderfilePersistenceDirectory - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder keepAliveInterval(int keepAliveInterval)
keepAliveInterval in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderkeepAliveInterval in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderkeepAliveInterval - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder keepAliveInterval(String keepAliveInterval)
keepAliveInterval in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderkeepAliveInterval in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderkeepAliveInterval - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder maxInflight(int maxInflight)
maxInflight in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildermaxInflight in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildermaxInflight - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder maxInflight(String maxInflight)
maxInflight in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildermaxInflight in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildermaxInflight - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder maxReconnectDelay(int maxReconnectDelay)
maxReconnectDelay in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildermaxReconnectDelay in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildermaxReconnectDelay - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder maxReconnectDelay(String maxReconnectDelay)
maxReconnectDelay in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildermaxReconnectDelay in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildermaxReconnectDelay - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder mqttVersion(int mqttVersion)
mqttVersion in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildermqttVersion in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildermqttVersion - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder mqttVersion(String mqttVersion)
mqttVersion in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildermqttVersion in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildermqttVersion - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder persistence(PahoEndpointBuilderFactory.PahoPersistence persistence)
persistence in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderpersistence in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderpersistence - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder persistence(String persistence)
persistence in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderpersistence in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderpersistence - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder qos(int qos)
qos in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderqos in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderqos - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder qos(String qos)
qos in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderqos in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderqos - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder retained(boolean retained)
retained in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderretained in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderretained - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder retained(String retained)
retained in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderretained in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderretained - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder serverURIs(String serverURIs)
serverURIs in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderserverURIs in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderserverURIs - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder willPayload(String willPayload)
willPayload in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderwillPayload in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderwillPayload - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder willQos(int willQos)
willQos in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderwillQos in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderwillQos - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder willQos(String willQos)
willQos in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderwillQos in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderwillQos - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder willRetained(boolean willRetained)
willRetained in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderwillRetained in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderwillRetained - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder willRetained(String willRetained)
willRetained in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderwillRetained in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderwillRetained - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder willTopic(String willTopic)
willTopic in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderwillTopic in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderwillTopic - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder httpsHostnameVerificationEnabled(boolean httpsHostnameVerificationEnabled)
httpsHostnameVerificationEnabled in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderhttpsHostnameVerificationEnabled in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderhttpsHostnameVerificationEnabled - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder httpsHostnameVerificationEnabled(String httpsHostnameVerificationEnabled)
httpsHostnameVerificationEnabled in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderhttpsHostnameVerificationEnabled in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderhttpsHostnameVerificationEnabled - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder password(String password)
password in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderpassword in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderpassword - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder socketFactory(Object socketFactory)
socketFactory in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildersocketFactory in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildersocketFactory - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder socketFactory(String socketFactory)
socketFactory in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildersocketFactory in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildersocketFactory - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder sslClientProps(Properties sslClientProps)
sslClientProps in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildersslClientProps in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildersslClientProps - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder sslClientProps(String sslClientProps)
sslClientProps in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildersslClientProps in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildersslClientProps - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder sslHostnameVerifier(Object sslHostnameVerifier)
sslHostnameVerifier in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildersslHostnameVerifier in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildersslHostnameVerifier - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder sslHostnameVerifier(String sslHostnameVerifier)
sslHostnameVerifier in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuildersslHostnameVerifier in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuildersslHostnameVerifier - the value to setdefault PahoEndpointBuilderFactory.PahoEndpointBuilder userName(String userName)
userName in interface PahoEndpointBuilderFactory.PahoEndpointConsumerBuilderuserName in interface PahoEndpointBuilderFactory.PahoEndpointProducerBuilderuserName - the value to setApache Camel