Michael,

You can do this by building your own Auditor implementation. Write a class that extends AbstractAuditor and add a reference to it in your conf/servicemix.xml file (in the services section).

The class' exchangeSent method will be called every time a message exchange passes through the bus. In your case, when working with InOut exchanges, you will get a first callback with only the input normalized message and a second one with both the input/output filled in.


Gert


Michael Mattox wrote:
I have succesfully configured the wiretap to log the input before
invoking my service but now I'd like to log both the request &
response *after* invoking my service.  I'd like to do this in a
generic way for *all* services, so using BPEL isn't an option.  I've
looked through the EIP patterns available via SM and also those listed
in the book and I don't find an obvious way to do this.  Perhaps it
requires combining several patterns together?

If someone can point me in the right direction I'd really appreciate it.

Thanks,
Michael

Reply via email to