web stats
Mirth Community - View Single Post - xml namespace issues with routeMessage when not queued
View Single Post
  #1  
Old 04-27-2012, 07:53 AM
whmurray whmurray is offline
Mirth Newb
 
Join Date: Feb 2012
Posts: 14
whmurray is on a distinguished road
Default xml namespace issues with routeMessage when not queued

I have channel that reads a file (which happens to be XML/CCD). THen it passed that file using:
var vmResponse = router.routeMessage('ProcessCCD', contents, true);

The second channel ("ProcessCCD") can see the xml ok and I can parse the ccd data content ok.

However, If I change the routeMessage call to pass the last parameter as "false" so no que, The second channel gets the xml, but there seems to be a namespace issue.

Questions:
1) If I call a channel using routeMessage, and need result data from that channel, then is using the "false" as the last parameter the right thing to do?
2) Why does this change how the second channel sees the xml data?
Reply With Quote