public class ChatMessageSendingMessageHandler extends AbstractXmppConnectionAwareMessageHandler
IntegrationManagement.ManagementOverrides
EXPRESSION_PARSER, logger
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
Constructor and Description |
---|
ChatMessageSendingMessageHandler() |
ChatMessageSendingMessageHandler(org.jivesoftware.smack.XMPPConnection xmppConnection) |
Modifier and Type | Method and Description |
---|---|
String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
protected void |
handleMessageInternal(Message<?> message) |
void |
setExtensionProvider(org.jivesoftware.smack.provider.ExtensionElementProvider<? extends org.jivesoftware.smack.packet.ExtensionElement> extensionProvider)
Specify an
ExtensionElementProvider to build an ExtensionElement
for the Stanza.addExtension(ExtensionElement)
instead of body . |
void |
setHeaderMapper(XmppHeaderMapper headerMapper) |
getXmppConnection, isInitialized, onInit
handleMessage, onComplete, onError, onNext, onSubscribe
buildSendTimer, destroy, getIntegrationPatternType, getManagedName, getManagedType, getMetricsCaptor, getOrder, getOverrides, isLoggingEnabled, registerMetricsCaptor, sendTimer, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, shouldTrack
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getThisAs
getBeanName, getComponentName
public ChatMessageSendingMessageHandler()
public ChatMessageSendingMessageHandler(org.jivesoftware.smack.XMPPConnection xmppConnection)
public void setHeaderMapper(XmppHeaderMapper headerMapper)
public void setExtensionProvider(org.jivesoftware.smack.provider.ExtensionElementProvider<? extends org.jivesoftware.smack.packet.ExtensionElement> extensionProvider)
ExtensionElementProvider
to build an ExtensionElement
for the Stanza.addExtension(ExtensionElement)
instead of body
.extensionProvider
- the ExtensionElementProvider
to use.public String getComponentType()
IntegrationObjectSupport
getComponentType
in interface NamedComponent
getComponentType
in class MessageHandlerSupport
protected void handleMessageInternal(Message<?> message)
handleMessageInternal
in class AbstractMessageHandler