I found a way to do it using WireTap. I noticed in one post including sample code that there was an outListener in addition to the inListener. I searched google and got nothing. It appears to be undocumented. I tried it out on my project and it worked. My trace is invoked twice, once for the request and once for the response. This is ok because they both contain the id of the request which we can use to update the entry in the database with the response info.
I also found the EIP Smart Proxy would allow us to do this. Unfortunately it's not available in Camel. -Michael On 9/17/07, Michael Mattox <[EMAIL PROTECTED]> 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 >
