I'm not sure that JMX notifications is the best way to do that. The o.a.s.jbi.audit feature is more appropriate. If you try the apache-servicemix-web distribution [1], you should be able to see the exchanges sent from the console.
[1] http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/apache-servicemix-web/3.1-incubating-SNAPSHOT/apache-servicemix-web-3.1-incubating-20061109.015829-5.war On 11/8/06, Christian Schneider <[EMAIL PROTECTED]> wrote:
It would be nice if servicemix could be configured to show the messages in the jmx console as notifications on the service unit and component beans. Does anyone know if this can be configured? Best regards Christian Andrea Zoppello schrieb: > Hello, > > I'm trying to understand how to trace message flows between components. > > Suppose i've a simple service assembly called "Process1" composed as > BC1->SE->BC2. > > I want to monitor all messages that arrives at BC1 and for each of > these, > trace the flow of that message. > > In other terms i think the Service Assembly as the "Process defintion" > and for each message that > arrives to BC1 we can think as a new instance of "Process1". > > To build a tracing/monitoring system i've this requirements > > 1) I need a way to analyze and store in a database the static > structure of the service assembly. I tried to do that > with a ServiceAssemblyListener, in this way i'm able to capture the > strutcure of service assembly as a list of service units, > but i dont't know how to get the endpoints that are associted with > a service assembly. ( I tried with and EnpointListener but in that > case i'm not able to bound the endpoints with SAs ). > > 2) I need a way to capture all message exchange and to bind this to a > particular process instance. i've no idea on how to do this. > > Have anyone some suggestion on this subject? > > Thanks > > Andrea Zoppello -- Christian Schneider --- http://www.liquid-reality.de
-- Cheers, Guillaume Nodet
