This is a wonderful post.
We also have a requirement to trace all the messages going across the NMR
regardless of destination.

A few more questions though.
The pub/sub solution seemed interesting and easy. But with ServiceMix using
Queue Semantics by default, do you need to switch it to use Topic Semantics?
Also, are only the components who define the subscriptionSpec tag get all
the messages, or do all components get them and they just filter the ones
that correspond to themselves? If so, wouldn't this be a performance issue
with all the components receiving a copy of every message going across the
NMR?

My second question is concerning the auditor classes. I am looking at the
javadocs you included as a link and it is unclear as to how to get an
implementation for any of the interfaces or abstract class. For example, how
does a developer get a reference to an AbstractAuditor?

Also it looks like there is a 4th way. By getting a reference to
JbiContainer and adding a class as a listener using the addListener method.
Is this a correct assumption?
-- 
View this message in context: 
http://www.nabble.com/Capture-any-message-off-the-NMR--tf1902644.html#a5551120
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to