Hopefully you find that the way to do this is to use the org.apache.servicemix.jbi.event package and configure a listener on the JBI container so that you can intercept all exchanges in the bus.
On 1/8/07, Gert Vanthienen <[EMAIL PROTECTED]> wrote:
L.S., We now have a 'naive' XML messaging implementation using Apache Ant, which retrieves XML messages from external partners using FTP, HTTP and IMAP, translates them to a common XML format using XSL-T and sends them to a WebSphere MQ queue on System i (aka iSeries, AS/400). We want to replace this implementation and start using Apache ServiceMix (which already has all the necessary functionality on board, if I'm not mistaken). We also have a custom built monitoring application, which archives all messages flowing through and 'correlates' the message to determine an XML message audit trail. Is there an easy way to do this in a 'generic' way in ServiceMix? Is there a way to e.g. send a copy of all messages that go through the NMR to an external JMS queue, with a second application that can then start archiving these messages (and indexing them for fast searches)? Or do we have to do this by <eip:wire-tap/>s between all our components? Regards, Gert Vanthienen
-- Cheers, Guillaume Nodet ------------------------ Architect, LogicBlaze (http://www.logicblaze.com/) Blog: http://gnodet.blogspot.com/
