Interface PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,PahoEndpointBuilderFactory.AdvancedPahoEndpointConsumerBuilder,PahoEndpointBuilderFactory.AdvancedPahoEndpointProducerBuilder
- Enclosing interface:
- PahoEndpointBuilderFactory
public static interface PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilder extends PahoEndpointBuilderFactory.AdvancedPahoEndpointConsumerBuilder, PahoEndpointBuilderFactory.AdvancedPahoEndpointProducerBuilder
Advanced builder for endpoint for the Paho component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default PahoEndpointBuilderFactory.PahoEndpointBuilderbasic()default PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilderclient(String client)To use an existing mqtt client.default PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilderclient(org.eclipse.paho.client.mqttv3.MqttClient client)To use an existing mqtt client.default PahoEndpointBuilderFactory.AdvancedPahoEndpointBuildercustomWebSocketHeaders(String customWebSocketHeaders)Sets the Custom WebSocket Headers for the WebSocket Connection.default PahoEndpointBuilderFactory.AdvancedPahoEndpointBuildercustomWebSocketHeaders(Properties customWebSocketHeaders)Sets the Custom WebSocket Headers for the WebSocket Connection.default PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilderexecutorServiceTimeout(int executorServiceTimeout)Set the time in seconds that the executor service should wait when terminating before forcefully terminating.default PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilderexecutorServiceTimeout(String executorServiceTimeout)Set the time in seconds that the executor service should wait when terminating before forcefully terminating.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.PahoEndpointBuilderFactory.AdvancedPahoEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.PahoEndpointBuilderFactory.AdvancedPahoEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
-
-
-
Method Detail
-
basic
default PahoEndpointBuilderFactory.PahoEndpointBuilder basic()
- Specified by:
basicin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointConsumerBuilder- Specified by:
basicin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointProducerBuilder
-
client
default PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilder client(org.eclipse.paho.client.mqttv3.MqttClient client)
To use an existing mqtt client. The option is a: <code>org.eclipse.paho.client.mqttv3.MqttClient</code> type. Group: advanced- Specified by:
clientin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointConsumerBuilder- Specified by:
clientin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointProducerBuilder- Parameters:
client- the value to set- Returns:
- the dsl builder
-
client
default PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilder client(String client)
To use an existing mqtt client. The option will be converted to a <code>org.eclipse.paho.client.mqttv3.MqttClient</code> type. Group: advanced- Specified by:
clientin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointConsumerBuilder- Specified by:
clientin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointProducerBuilder- Parameters:
client- the value to set- Returns:
- the dsl builder
-
customWebSocketHeaders
default PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilder customWebSocketHeaders(Properties customWebSocketHeaders)
Sets the Custom WebSocket Headers for the WebSocket Connection. The option is a: <code>java.util.Properties</code> type. Group: advanced- Specified by:
customWebSocketHeadersin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointConsumerBuilder- Specified by:
customWebSocketHeadersin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointProducerBuilder- Parameters:
customWebSocketHeaders- the value to set- Returns:
- the dsl builder
-
customWebSocketHeaders
default PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilder customWebSocketHeaders(String customWebSocketHeaders)
Sets the Custom WebSocket Headers for the WebSocket Connection. The option will be converted to a <code>java.util.Properties</code> type. Group: advanced- Specified by:
customWebSocketHeadersin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointConsumerBuilder- Specified by:
customWebSocketHeadersin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointProducerBuilder- Parameters:
customWebSocketHeaders- the value to set- Returns:
- the dsl builder
-
executorServiceTimeout
default PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilder executorServiceTimeout(int executorServiceTimeout)
Set the time in seconds that the executor service should wait when terminating before forcefully terminating. It is not recommended to change this value unless you are absolutely sure that you need to. The option is a: <code>int</code> type. Default: 1 Group: advanced- Specified by:
executorServiceTimeoutin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointConsumerBuilder- Specified by:
executorServiceTimeoutin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointProducerBuilder- Parameters:
executorServiceTimeout- the value to set- Returns:
- the dsl builder
-
executorServiceTimeout
default PahoEndpointBuilderFactory.AdvancedPahoEndpointBuilder executorServiceTimeout(String executorServiceTimeout)
Set the time in seconds that the executor service should wait when terminating before forcefully terminating. It is not recommended to change this value unless you are absolutely sure that you need to. The option will be converted to a <code>int</code> type. Default: 1 Group: advanced- Specified by:
executorServiceTimeoutin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointConsumerBuilder- Specified by:
executorServiceTimeoutin interfacePahoEndpointBuilderFactory.AdvancedPahoEndpointProducerBuilder- Parameters:
executorServiceTimeout- the value to set- Returns:
- the dsl builder
-
-