public class PahoComponent
extends org.apache.camel.impl.DefaultComponent
Constructor and Description |
---|
PahoComponent() |
PahoComponent(org.apache.camel.CamelContext context) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
String |
getBrokerUrl() |
String |
getClientId() |
org.eclipse.paho.client.mqttv3.MqttConnectOptions |
getConnectOptions() |
void |
setBrokerUrl(String brokerUrl)
The URL of the MQTT broker.
|
void |
setClientId(String clientId)
MQTT client identifier.
|
void |
setConnectOptions(org.eclipse.paho.client.mqttv3.MqttConnectOptions connectOptions)
Client connection options
|
afterConfiguration, createComponentConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
public PahoComponent()
public PahoComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.impl.DefaultComponent
Exception
public String getBrokerUrl()
public void setBrokerUrl(String brokerUrl)
public String getClientId()
public void setClientId(String clientId)
public org.eclipse.paho.client.mqttv3.MqttConnectOptions getConnectOptions()
public void setConnectOptions(org.eclipse.paho.client.mqttv3.MqttConnectOptions connectOptions)
Apache Camel