Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-16989

DataMapper backslash delimiter in split transformation works only when the message has double backslashes

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not a Bug
    • fuse-7.9-GA
    • fuse-7.10-GA
    • Atlas Map, Fuse Online
    • None
    • Todo

    Description

      e.g.
      When I have a source message from AMQ

      {"task":"test1\test2\test3"}
      

      the output is

      [{"value":"test1\test2\test3"}]
      

      But when the message contains double backslashes

      {"task":"test1\\test2\\test3"}
      

      the output is

      [{"value":"test1"}, {"value":"test2"}, {"value":"test3"}]
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mkralik@redhat.com Matej Kralik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: