none
Receive message with enveloppe in an orchestration RRS feed

  • Question

  • I've created a message A and an envelope EA for this message A.

    I've created a map (MapAtoC) that transform A to an other message C

    I've created a receive location, which receive my enveloped message EA.

    I've created an orchestration, receive port & co, which attemp a message A.

    I've implement my MapToC within

    When I send an enveloped message EA, my orchestration start

    My Map do no work. Seems that It don't see my message A

    Any Sample ?

    Monday, December 17, 2018 1:51 PM

All replies

  • So your MapAtoC is on the Receive Port?   

    You have an XML dissasmbler on the Receive Pipeline which specifies the Enveloper and Schema? 

    You Orchestration Starts or doesn't start?   What message is your Orchestration expecting A or C?  

    Monday, December 17, 2018 7:36 PM
  • My MapAtoC is in the orchestration.

    I receive the message "EA" with a custom pipeline (because is a json format). The message go to in the message box. the message type become "A" My Orchestration wait for a message "A". The orchestration receive the message and execute the map to produce a message C... My problem is that the map don't work. It produce an empty message.

    Tuesday, December 18, 2018 8:29 AM
  • Well then you need to take message A and your map MapAtoC and test it in Visual Studio.

    Without more details of your map, we cannot help you

    Tuesday, December 18, 2018 7:39 PM
  • It has nothing to do with envelope in any way now, your culprit is the map. Debug the Map in VS as Colin suggested.

    Mandar Dharmadhikari

    Tuesday, December 18, 2018 10:54 PM
    Moderator
  • Don't worry about the Orchestration right now.

    Is your Receive Pipeline correctly setup with the JSON Decoder  Component, then the XmlDisassembler Component with you Envelope and Document Schemas set?

    Route that directly to a File location, you should get Message Type A only.  If not, the problem is in the Pipeline and Component configuration.

    Thursday, December 20, 2018 4:25 PM
    Moderator