diff --git a/src/docbkx/xmpp.xml b/src/docbkx/xmpp.xml index 796f0b7667..9047636287 100644 --- a/src/docbkx/xmpp.xml +++ b/src/docbkx/xmpp.xml @@ -58,7 +58,7 @@ XMPP Connection To participate in the network, an actor must connect to an XMPP server. Typically this requires - at a minimum - a - user, a password, a host, and a port. + user, apassword, ahost, and aport. To create an XMPP connection, you may use the XML namespace. @@ -78,47 +78,87 @@ XMPP Messages
Inbound Message Adapter - The Spring Integration adapters support receiving messages from other users in the system. To do this, the adapter "logs in" as a user - on your behalf and receives the messages sent to that user. Those messages are then forwarded to your Spring Integration + The Spring Integration adapters support receiving messages from other users in the system. To do this, the + adapter "logs in" as a user + on your behalf and receives the messages sent to that user. Those messages are then forwarded to your Spring + Integration client. The payload of the inbound Spring Integration message may be of the raw type - org.jivesoftware.smack.packet.Message, or of the type java.lang.String - which is the type of the raw - Message's - body property - - depending on whether you specify extract-payload on the adapter's configuration or not. - Inbound Messages are typically small and are text-oriented. Messages received using the adapter have - a pretty standard layout, with known headers (all headers have keys defined on org.springframework.integration.xmpp.XmppHeaders): - + org.jivesoftware.smack.packet.Message, or of the type + java.lang.String + - which is the type of the raw + Message's + + body + + property - + depending on whether you specify + extract-payload + on the adapter's configuration or not. + Inbound Messages are typically small and are text-oriented. Messages received using the adapter have + a pretty standard layout, with known headers (all headers have keys defined on + org.springframework.integration.xmpp.XmppHeaders): + - - - - - - + + +
Header Name What it Describes
XmppHeaders.CHAT A reference to the org.jivesoftware.smack.Chat class which represents the - threaded conversation containing the message. -
XmppHeaders.TYPE The value of the + + Header Values + + + + + + + + + Header Name + What It Describes + + + + + 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. - - -
+ error. + + + XmppHeaders.CHAT + A reference to the org.jivesoftware.smack.Chat class which represents the + threaded conversation containing the message. + + +
- This adapter requires a reference to an XMPP Connection. You may - use the xmpp-connection - element to define one. + This adapter requires a reference to an XMPP Connection. You may + use the + xmpp-connection + element to define one. - An example might look as follows: + An example might look as follows: - + ]]> - -