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

Inconsistent out message when using recipient list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 1.6.3, 2.1.0
    • camel-core
    • None

    Description

      When using the Dynamic Recipient List pattern, there's an inconsistency between two ways of of defining that pattern:

      • when using a @RecipientList-annotated method with a beanRef, you get the list of endpoints as the out message body
      • when using the same method with a recipientList(bean(...)) call, you get the aggregated result of the invoked endpoints

      I think it would be better if both options returned the same response message and I would suggested the aggregated result of the invoked endpoints is the more appropriate one.

      Attachments

        1. CAMEL-2221.diff
          4 kB
          Gert Vanthienen

        Activity

          People

            gertvanthienen Gert Vanthienen
            gertvanthienen Gert Vanthienen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: