diff --git a/src/docbkx/xmpp.xml b/src/docbkx/xmpp.xml index 017c128ea8..a3f6f3814b 100644 --- a/src/docbkx/xmpp.xml +++ b/src/docbkx/xmpp.xml @@ -351,7 +351,12 @@ public class XmppMessageConsumer { The most important data for these adapters resides in the headers. The header keys are enumerated on - the org.springframework.integration.xmpp.XmppHeaders class. The header keys specific to these "presence" adapters start with the token "PRESENCE_". + the org.springframework.integration.xmpp.XmppHeaders class. + + The header keys specific to these "presence" adapters start with the token "PRESENCE_". + + Not all headers are available for both inbound and outbound. + @@ -370,41 +375,52 @@ public class XmppMessageConsumer { - - XmppHeaders.TYPE - The value of the - the - - org.jivesoftware.smack.packet.Message.Type - - enum that describes the inbound message. Possible values are: - normal, - chat, - groupchat, - headline, - error. + XmppHeaders.PRESENCE_LANGUAGE + The java.lang.String language in which the message was written. - - XmppHeaders.CHAT - A reference to the - org.jivesoftware.smack.Chat - class which represents the - threaded conversation containing the message. + XmppHeaders.PRESENCE_PRIORITY + + The priority (int) of the message. Arbitrary, but it can be used to help assign relevance to a message which + in turn might be used in its handling. + + XmppHeaders.PRESENCE_MODE + + An instance of the enum org.jivesoftware.smack.packet.Presence.Mode that has one of the following values: + chat, available, away, + xa, dnd + + + XmppHeaders.PRESENCE_TYPE + + An instance of the enum org.jivesoftware.smack.packet.Presence.Type + that has one of the following values: + available, unavailable, subscribe, subscribed, + unsubscribe, unsubscribed, and error. + + + + + XmppHeaders.PRESENCE_STATUS + + A java.lang.String string representing the status of the agent. This corresponds to an agents "away" message. + + + + XmppHeaders.PRESENCE_FROM + + A java.lang.String string representing the handle of the user whose state is being received. + + + +