|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.MessageSupport
org.apache.camel.impl.DefaultMessage
org.apache.camel.component.xmpp.XmppMessage
public class XmppMessage
Represents a Message for working with XMPP
| Constructor Summary | |
|---|---|
XmppMessage()
|
|
XmppMessage(org.jivesoftware.smack.packet.Message jmsMessage)
|
|
| Method Summary | |
|---|---|
protected Object |
createBody()
A factory method to allow a provider to lazily create the message body for inbound messages from other sources |
org.jivesoftware.smack.packet.Message |
getXmppMessage()
Returns the underlying XMPP message |
XmppMessage |
newInstance()
Returns a new instance |
protected void |
populateInitialHeaders(Map<String,Object> map)
A strategy method populate the initial set of headers on an inbound message from an underlying binding |
void |
setXmppMessage(org.jivesoftware.smack.packet.Message xmppMessage)
|
String |
toString()
|
| Methods inherited from class org.apache.camel.impl.DefaultMessage |
|---|
addAttachment, copyFrom, createAttachments, createExchangeId, createHeaders, getAttachment, getAttachmentNames, getAttachments, getHeader, getHeader, getHeader, getHeader, getHeaders, hasAttachments, hasHeaders, hasPopulatedHeaders, isFault, populateInitialAttachments, removeAttachment, removeHeader, removeHeaders, setAttachments, setFault, setHeader, setHeaders |
| Methods inherited from class org.apache.camel.impl.MessageSupport |
|---|
copy, createMessageId, getBody, getBody, getBody, getExchange, getMandatoryBody, getMandatoryBody, getMessageId, setBody, setBody, setExchange, setMessageId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XmppMessage()
public XmppMessage(org.jivesoftware.smack.packet.Message jmsMessage)
| Method Detail |
|---|
public String toString()
toString in class DefaultMessagepublic org.jivesoftware.smack.packet.Message getXmppMessage()
public void setXmppMessage(org.jivesoftware.smack.packet.Message xmppMessage)
public XmppMessage newInstance()
MessageSupport
newInstance in class DefaultMessageprotected Object createBody()
MessageSupport
createBody in class MessageSupportprotected void populateInitialHeaders(Map<String,Object> map)
DefaultMessage
populateInitialHeaders in class DefaultMessagemap - is the empty header map to populate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||