org.apache.camel.component.xmpp
Class XmppBinding

java.lang.Object
  extended by org.apache.camel.component.xmpp.XmppBinding

public class XmppBinding
extends java.lang.Object

A Strategy used to convert between a Camel Exchange and XmppMessage to and from a XMPP Message

Version:

Constructor Summary
XmppBinding()
           
XmppBinding(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
           
 
Method Summary
 java.lang.Object extractBodyFromXmpp(org.apache.camel.Exchange exchange, org.jivesoftware.smack.packet.Message message)
          Extracts the body from the XMPP message
 java.util.Map<java.lang.String,java.lang.Object> extractHeadersFromXmpp(org.jivesoftware.smack.packet.Message xmppMessage, org.apache.camel.Exchange exchange)
           
 void populateXmppMessage(org.jivesoftware.smack.packet.Message message, org.apache.camel.Exchange exchange)
          Populates the given XMPP message from the inbound exchange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmppBinding

public XmppBinding()

XmppBinding

public XmppBinding(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
Method Detail

populateXmppMessage

public void populateXmppMessage(org.jivesoftware.smack.packet.Message message,
                                org.apache.camel.Exchange exchange)
Populates the given XMPP message from the inbound exchange


extractBodyFromXmpp

public java.lang.Object extractBodyFromXmpp(org.apache.camel.Exchange exchange,
                                            org.jivesoftware.smack.packet.Message message)
Extracts the body from the XMPP message


extractHeadersFromXmpp

public java.util.Map<java.lang.String,java.lang.Object> extractHeadersFromXmpp(org.jivesoftware.smack.packet.Message xmppMessage,
                                                                               org.apache.camel.Exchange exchange)


Apache CAMEL