Keith, The problem with the XSLT mediator is indeed that it replaces the part of the message that is the source for the XSL transformation, i.e. the input of the transformation will be no longer available after the transformation. We are working on a set of mediators that allow to copy part of a message; they could be used to preserve the original message. Actually I would assume that any logic (returning true or false) implemented by an XSLT could also be implemented using XPath. Is that not possible in your case?
Andreas On Wed, Mar 25, 2009 at 17:38, kbohnenberger <[email protected]> wrote: > > Given incoming xml ... > Is there a way to run an xslt over the incoming xml, look at the results of > the xslt and allow messages through if the xslt results return true. If the > xslt returns false, I need to do some logging and drop the messages on the > floor. > > It looks like I want to use something like the "filter" selection mediator > with the "then/else" but I need it to work off of the results of an xslt. > > Thanks > > Keith > -- > View this message in context: > http://www.nabble.com/need-to-filter-based-on-results-of-an-xslt-tp22705788p22705788.html > Sent from the Synapse - User mailing list archive at Nabble.com. > >
