camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-7148) Added the ability to send messages to several participants.
Date Sat, 22 Feb 2014 04:32:21 GMT

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



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

Mime
View raw message