[ 
https://issues.apache.org/jira/browse/CAMEL-7148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13911525#comment-13911525
 ] 

ASF GitHub Bot commented on CAMEL-7148:
---------------------------------------

Github user dkolotenko closed the pull request at:

    https://github.com/apache/camel/pull/92


> 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://u...@jabber.org/not_used?password=pass"/>
> </split>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to