[
https://issues.apache.org/jira/browse/CAMEL-7148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang resolved CAMEL-7148.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.13.0
> Added the ability to send messages to several participants.
> -----------------------------------------------------------
>
> Key: CAMEL-7148
> URL: https://issues.apache.org/jira/browse/CAMEL-7148
> Project: Camel
> Issue Type: Improvement
> Components: camel-xmpp
> Affects Versions: 2.10.7
> Reporter: Denis Kolotenko
> Assignee: Willem Jiang
> Priority: Minor
> Labels: newbie, patch, xmpp
> Fix For: 2.13.0
>
> Attachments:
> change_module_camel-xmpp_(use_header_CamelXmppTo_for_customs_participant).patch
>
>
> Use header with name "CamelXmppTo" to send jabber messages to several
> participants.
> Example:
> {code}
> <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://[email protected]/not_used?password=pass"/>
> </split>
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)