Spring Integration

org.springframework.integration.xmpp.messages
Class XmppMessageSendingMessageHandler

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.handler.AbstractMessageHandler
          extended by org.springframework.integration.xmpp.messages.XmppMessageSendingMessageHandler
All Implemented Interfaces:
BeanFactoryAware, BeanNameAware, InitializingBean, Lifecycle, Ordered, NamedComponent, MessageHandler, TrackableComponent

public class XmppMessageSendingMessageHandler
extends AbstractMessageHandler
implements Lifecycle

Since:
2.0
Author:
Josh Long, Mario Gray

Field Summary
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
XmppMessageSendingMessageHandler()
           
 
Method Summary
protected  void handleMessageInternal(Message<?> message)
           
 boolean isRunning()
           
 void setXmppConnection(org.jivesoftware.smack.XMPPConnection xmppConnection)
           
 void start()
           
 void stop()
           
 
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, getRequiredMetadataPersister, getTaskScheduler, onInit, 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

XmppMessageSendingMessageHandler

public XmppMessageSendingMessageHandler()
Method Detail

setXmppConnection

public void setXmppConnection(org.jivesoftware.smack.XMPPConnection xmppConnection)

handleMessageInternal

protected void handleMessageInternal(Message<?> message)
Specified by:
handleMessageInternal in class AbstractMessageHandler

isRunning

public boolean isRunning()
Specified by:
isRunning in interface Lifecycle

start

public void start()
Specified by:
start in interface Lifecycle

stop

public void stop()
Specified by:
stop in interface Lifecycle

Spring Integration

Copyright © 2010. All Rights Reserved.