Package org.apache.camel.component.xmpp
Class XmppBinding
java.lang.Object
org.apache.camel.component.xmpp.XmppBinding
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractBodyFromXmpp
(org.apache.camel.Exchange exchange, org.jivesoftware.smack.packet.Stanza stanza) Extracts the body from the XMPP messageextractHeadersFromXmpp
(org.jivesoftware.smack.packet.Stanza stanza, 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 exchangevoid
populateXmppStanza
(org.jivesoftware.smack.packet.Stanza stanza, org.apache.camel.Exchange exchange) Populates the given XMPP stanza from the inbound exchange
-
Constructor Details
-
XmppBinding
public XmppBinding() -
XmppBinding
public XmppBinding(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
-
-
Method Details
-
populateXmppMessage
public void populateXmppMessage(org.jivesoftware.smack.packet.Message message, org.apache.camel.Exchange exchange) Populates the given XMPP message from the inbound exchange -
populateXmppStanza
public void populateXmppStanza(org.jivesoftware.smack.packet.Stanza stanza, org.apache.camel.Exchange exchange) Populates the given XMPP stanza from the inbound exchange -
extractBodyFromXmpp
public Object extractBodyFromXmpp(org.apache.camel.Exchange exchange, org.jivesoftware.smack.packet.Stanza stanza) Extracts the body from the XMPP message -
extractHeadersFromXmpp
-