Class MqttConnectionConsumer
java.lang.Object
org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionConsumer
Connection consumer for MQTT listener which delegates connection attempts and subscription
from the MQTT inbound listener
-
Constructor Summary
ConstructorsConstructorDescriptionMqttConnectionConsumer(org.eclipse.paho.client.mqttv3.MqttConnectOptions connectOptions, org.eclipse.paho.client.mqttv3.MqttAsyncClient mqttAsyncClient, MqttConnectionFactory confac, Properties mqttProperties, String name) -
Method Summary
-
Constructor Details
-
MqttConnectionConsumer
public MqttConnectionConsumer(org.eclipse.paho.client.mqttv3.MqttConnectOptions connectOptions, org.eclipse.paho.client.mqttv3.MqttAsyncClient mqttAsyncClient, MqttConnectionFactory confac, Properties mqttProperties, String name)
-
-
Method Details
-
execute
public void execute() -
shutdown
public void shutdown() -
getConnectOptions
public org.eclipse.paho.client.mqttv3.MqttConnectOptions getConnectOptions() -
getMqttAsyncClient
public org.eclipse.paho.client.mqttv3.MqttAsyncClient getMqttAsyncClient() -
getMqttConnectionFactory
-
getMqttProperties
-
getName
-