web stats
Mirth Community - View Single Post - filters before transformers? or, deleting segments?
View Single Post
  #11  
Old 11-16-2011, 12:20 PM
duggram duggram is offline
OBX.1 Kenobi
 
Join Date: Nov 2010
Location: ABQ, NM
Posts: 29
duggram is on a distinguished road
Default

Is there a reason that you can't use one of your XML files as a template? You can use one in the source filter and any transformer (source or destination) steps. Then it's just a drag and drop process to create a simple filter in Rule Builder or use JavaScript. The same can be done in a transformer.

In your destinations you can use an XML file formatted like the one you want to deliver as a template in the "Outbound Message Templates" to again make the process drag and drop. Now you can use the Message Builder or JavaScript to transform you message as you wish.


The router I was referring to is the Message Router pattern. It's implemented in Mirth with channel writers and listeners. It spreads all the operations out if you have multiple filter/transformer requirements. The router Java object doesn't offer the same visual pattern representation or opportunity for transformations.
Reply With Quote