public static interface PahoComponentBuilderFactory.PahoComponentBuilder extends ComponentBuilder<org.apache.camel.component.paho.PahoComponent>
| Modifier and Type | Method and Description |
|---|---|
default PahoComponentBuilderFactory.PahoComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
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 PahoComponentBuilderFactory.PahoComponentBuilder |
brokerUrl(String brokerUrl)
The URL of the MQTT broker.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
client(org.eclipse.paho.client.mqttv3.MqttClient client)
To use a shared Paho client.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
configuration(org.apache.camel.component.paho.PahoConfiguration configuration)
To use the shared Paho configuration.
|
default PahoComponentBuilderFactory.PahoComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
build, build, doSetProperty, registerdefault PahoComponentBuilderFactory.PahoComponentBuilder brokerUrl(String brokerUrl)
java.lang.String type.
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder configuration(org.apache.camel.component.paho.PahoConfiguration configuration)
org.apache.camel.component.paho.PahoConfiguration type.
Group: commondefault PahoComponentBuilderFactory.PahoComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault PahoComponentBuilderFactory.PahoComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault PahoComponentBuilderFactory.PahoComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault PahoComponentBuilderFactory.PahoComponentBuilder client(org.eclipse.paho.client.mqttv3.MqttClient client)
org.eclipse.paho.client.mqttv3.MqttClient type.
Group: advancedApache Camel