Spring Integration

org.springframework.integration.xmpp.outbound
Class PresenceSendingMessageHandler

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.handler.AbstractMessageHandler
          extended by org.springframework.integration.xmpp.core.AbstractXmppConnectionAwareMessageHandler
              extended by org.springframework.integration.xmpp.outbound.PresenceSendingMessageHandler
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.core.Ordered, NamedComponent, Orderable, MessageHandler, TrackableComponent

public class PresenceSendingMessageHandler
extends AbstractXmppConnectionAwareMessageHandler

MessageHandler that publishes updated Presence values for a given XMPP connection.

Since:
2.0
Author:
Josh Long, Oleg Zhurakousky

Field Summary
 
Fields inherited from class org.springframework.integration.xmpp.core.AbstractXmppConnectionAwareMessageHandler
initialized, xmppConnection
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
PresenceSendingMessageHandler()
           
PresenceSendingMessageHandler(org.jivesoftware.smack.XMPPConnection xmppConnection)
           
 
Method Summary
protected  void handleMessageInternal(Message<?> message)
           
 
Methods inherited from class org.springframework.integration.xmpp.core.AbstractXmppConnectionAwareMessageHandler
onInit
 
Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler
getComponentType, getOrder, handleMessage, setOrder, setShouldTrack
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.integration.context.NamedComponent
getComponentName
 

Constructor Detail

PresenceSendingMessageHandler

public PresenceSendingMessageHandler()

PresenceSendingMessageHandler

public PresenceSendingMessageHandler(org.jivesoftware.smack.XMPPConnection xmppConnection)
Method Detail

handleMessageInternal

protected void handleMessageInternal(Message<?> message)
                              throws java.lang.Exception
Specified by:
handleMessageInternal in class AbstractMessageHandler
Throws:
java.lang.Exception

Spring Integration