Sending result of one destination to another destination

mercredi 19 novembre 2014

Folks, I'm probably overthinking this but for the life of me I can't get this to work ...



I have two destination steps in my channel.



The first destination step uses a JavaScript Writer to extract an HL7 message contained in an XML document, and assigns it to a variable. I then write that variable to the channel map with "channelMap.put('hl7', hl7)" so it's available in the next destination. So far so good.



I now want to transform the HL7 contained in that "hl7" variable in destination 2 using a Message Builder transform. How do I access that "hl7" variable so I can do the usual tmp[foo] = msg[bar] type assignments?



Thanks!





Sending result of one destination to another destination

0 commentaires:

Enregistrer un commentaire