public class ChatMessageListeningEndpoint extends AbstractXmppConnectionAwareEndpoint
initialized, xmppConnection
lifecycleCondition, lifecycleLock
logger
Constructor and Description |
---|
ChatMessageListeningEndpoint() |
ChatMessageListeningEndpoint(org.jivesoftware.smack.XMPPConnection xmppConnection) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart()
Takes no action by default.
|
protected void |
doStop()
Takes no action by default.
|
String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
void |
setExtractPayload(boolean extractPayload)
Specify whether the text message body should be extracted when mapping to a
Spring Integration Message payload.
|
void |
setHeaderMapper(XmppHeaderMapper headerMapper) |
onInit
getMessagingTemplate, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack
doStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
afterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentName
public ChatMessageListeningEndpoint()
public ChatMessageListeningEndpoint(org.jivesoftware.smack.XMPPConnection xmppConnection)
public void setHeaderMapper(XmppHeaderMapper headerMapper)
public void setExtractPayload(boolean extractPayload)
extractPayload
- true if the payload should be extracted.public String getComponentType()
IntegrationObjectSupport
getComponentType
in interface NamedComponent
getComponentType
in class IntegrationObjectSupport
protected void doStart()
MessageProducerSupport
doStart
in class MessageProducerSupport
protected void doStop()
MessageProducerSupport
doStop
in class MessageProducerSupport