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

camel-core - Split EIP should be able to split a Map out of the box

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.13.0
    • camel-core
    • None
    • Unknown

    Description

      If you use a Map as the message body then split via

      split(body())

      will not split the map into its entries, eg Set<Map.Entry> but containing the entire map as a single entity.

      That is a bit weird we haven't talked about this before, that the ObjectHelper.createIterable does not have Map support (what the split uses to split).

      A user had a bit trouble with the dropbox component that returns a Map of multiple files from dropbox
      https://camel.zulipchat.com/#narrow/stream/257298-camel/topic/setUpDropboxCamel

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: