Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7148

Added the ability to send messages to several participants.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.10.7
    • 2.13.0
    • camel-xmpp
    • 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>
      

      Attachments

        Activity

          People

            njiang Willem Jiang
            dkolotenko Denis Kolotenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: