|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.component.xmpp.XmppBinding
public class XmppBinding
A Strategy used to convert between a Camel and to and from a
XMPP Message
Constructor Summary | |
---|---|
XmppBinding()
|
Method Summary | |
---|---|
Object |
extractBodyFromXmpp(XmppExchange exchange,
org.jivesoftware.smack.packet.Message message)
Extracts the body from the XMPP message |
void |
populateXmppMessage(org.jivesoftware.smack.packet.Message message,
org.apache.camel.Exchange exchange)
Populates the given XMPP message from the inbound exchange |
protected boolean |
shouldOutputHeader(org.apache.camel.Exchange exchange,
String headerName,
Object headerValue)
Strategy to allow filtering of headers which are put on the XMPP message |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmppBinding()
Method Detail |
---|
public void populateXmppMessage(org.jivesoftware.smack.packet.Message message, org.apache.camel.Exchange exchange)
public Object extractBodyFromXmpp(XmppExchange exchange, org.jivesoftware.smack.packet.Message message)
exchange
- message
- protected boolean shouldOutputHeader(org.apache.camel.Exchange exchange, String headerName, Object headerValue)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |