I suggest you...

Apply multiple maps sequentially in a receive or send port

There are several use cases where we need to apply a map then apply a second map on the target message of the first map.
In order to do that we need to implement an orchestration or use the ESB itinerary.
It could be good to have this feature out-of-the-box: if multiple maps are associated with a port and if the source message of a map is the destination message of a previous map, then the second map is also applied.

25 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    David GROSPELIER (MiddleWay) shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    5 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • John Stephens commented  ·   ·  Flag as inappropriate

        This is very easy to do with an Xsl Pipeline component, such as the one ship in the SDK folder. No Itineraries necessary.

        Actually, it's the Port Maps configuration that's the oddity. Transforms belong on the Pipeline design surface just like Orchestrations.

      • John Callaway commented  ·   ·  Flag as inappropriate

        There is a potential hack for this, but it requires using the ESB toolkit pipeline components. There is a transform pipeline component (generally only used by the audit offramp) where a map can be explicitly specified, and the dispatcher also has a transform setting for static configuration of a map without using the rest of the itinerary capability. Maybe just leverage these pipeline components and create your own custom "execute two maps" pipeline. Just spitballing an idea here.

      • David GROSPELIER (MiddleWay) commented  ·   ·  Flag as inappropriate

        Fernando, one example is to do message versionning.
        Assuming:
        - I have one map from External schema to Canonical Schema v1
        - Then I create a new version of the Canonical Schema (v2). If I can add a new map from Canonical v1 to Canonical v2, it could be very simple.

      • Fernando commented  ·   ·  Flag as inappropriate

        Very odd behaviour, Why not do everything in the first map? Give a good exemple.

      Feedback and Knowledge Base