public abstract class AbstractMqttMessageDrivenChannelAdapter extends MessageProducerSupport
logger
Constructor and Description |
---|
AbstractMqttMessageDrivenChannelAdapter(String url,
String clientId,
String... topic) |
Modifier and Type | Method and Description |
---|---|
protected String |
getClientId() |
String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
protected MqttMessageConverter |
getConverter() |
protected String[] |
getTopic() |
protected 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 void setConverter(MqttMessageConverter converter)
protected String getUrl()
protected String getClientId()
protected MqttMessageConverter getConverter()
protected String[] getTopic()
public String getComponentType()
IntegrationObjectSupport
getComponentType
in interface NamedComponent
getComponentType
in class IntegrationObjectSupport
protected void onInit()
IntegrationObjectSupport
onInit
in class MessageProducerSupport