@UriEndpoint(scheme="mqtt", title="MQTT", syntax="mqtt:name", consumerClass=MQTTConsumer.class, label="messaging") public class MQTTEndpoint extends org.apache.camel.impl.DefaultEndpoint
Constructor and Description |
---|
MQTTEndpoint(String uri,
MQTTComponent component,
MQTTConfiguration properties) |
Modifier and Type | Method and Description |
---|---|
protected void |
createConnection() |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
protected void |
doStop() |
MQTTConfiguration |
getConfiguration() |
String |
getName() |
boolean |
isSingleton() |
void |
setName(String name) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public MQTTEndpoint(String uri, MQTTComponent component, MQTTConfiguration properties)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public MQTTConfiguration getConfiguration()
public String getName()
public void setName(String name)
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultEndpoint
Exception
protected void createConnection()
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.DefaultEndpoint
Exception
public boolean isSingleton()
Apache Camel