Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.10.7
-
Patch Available
-
Unknown
Description
Use header with name "CamelXmppTo" to send jabber messages to several participants.
Example:
<to uri="sql:select Message, Participant from SomeTable"/> <split> <simple>${body}</simple> <setHeader headerName="CamelXmppTo"> <simple>${body[Participant]}</simple> </setHeader> <setBody> <simple>${body[Message]}</simple> </setBody> <to uri="xmpp://user@jabber.org/not_used?password=pass"/> </split>