public abstract class AbstractMqttMessageDrivenChannelAdapter extends MessageProducerSupport
lifecycleCondition, lifecycleLock
logger
Constructor and Description |
---|
AbstractMqttMessageDrivenChannelAdapter(java.lang.String url,
java.lang.String clientId,
java.lang.String... topic) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getClientId() |
java.lang.String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
protected MqttMessageConverter |
getConverter() |
protected java.lang.String[] |
getTopic() |
protected java.lang.String |
getUrl() |
protected void |
onInit()
Subclasses may implement this for initialization logic.
|
void |
setConverter(MqttMessageConverter converter) |
doStart, doStop, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentName
public AbstractMqttMessageDrivenChannelAdapter(java.lang.String url, java.lang.String clientId, java.lang.String... topic)
public void setConverter(MqttMessageConverter converter)
protected java.lang.String getUrl()
protected java.lang.String getClientId()
protected MqttMessageConverter getConverter()
protected java.lang.String[] getTopic()
public java.lang.String getComponentType()
IntegrationObjectSupport
getComponentType
in interface NamedComponent
getComponentType
in class IntegrationObjectSupport
protected void onInit()
IntegrationObjectSupport
onInit
in class MessageProducerSupport