public class PahoMqtt5Consumer
extends org.apache.camel.support.DefaultConsumer
| Constructor and Description |
|---|
PahoMqtt5Consumer(org.apache.camel.Endpoint endpoint,
org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Exchange |
createExchange(org.eclipse.paho.mqttv5.common.MqttMessage mqttMessage,
String topic) |
protected void |
doStart() |
protected void |
doStop() |
org.eclipse.paho.mqttv5.client.MqttClient |
getClient() |
PahoMqtt5Endpoint |
getEndpoint() |
void |
setClient(org.eclipse.paho.mqttv5.client.MqttClient client) |
createExchange, createUoW, defaultConsumerCallback, doBuild, doInit, doneUoW, doShutdown, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, getRouteId, handleException, handleException, releaseExchange, setExceptionHandler, setRoute, setRouteId, toStringbuild, doFail, doLifecycleChange, doResume, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic PahoMqtt5Consumer(org.apache.camel.Endpoint endpoint,
org.apache.camel.Processor processor)
public org.eclipse.paho.mqttv5.client.MqttClient getClient()
public void setClient(org.eclipse.paho.mqttv5.client.MqttClient client)
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultConsumerExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultConsumerExceptionpublic PahoMqtt5Endpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.support.DefaultConsumerpublic org.apache.camel.Exchange createExchange(org.eclipse.paho.mqttv5.common.MqttMessage mqttMessage,
String topic)
Apache Camel