diff --git a/src/docbkx/xmpp.xml b/src/docbkx/xmpp.xml index 07ef5173d2..5be0bf92e8 100644 --- a/src/docbkx/xmpp.xml +++ b/src/docbkx/xmpp.xml @@ -315,8 +315,8 @@ public class XmppMessageConsumer { - It's easy enough to use Java to handle this and this lets you update the target of the - XMPP message dynamically at runtime in Java code. If, however, the target is more static in nature, you can + It's easy enough to use Java to update the XmppHeaders.CHAT_TO_USER header, and this has the advantage of dynamically updating the header at runtime in Java code. + If, however, the target is more static in nature, you can configure it using the XMPP enricher support. Here is an example using the enricher. The enricher enriches the Spring Integration message