Raul-

It sounds like you would want to implement an Message Exchange Listener. 
All messages that flow through the system would be handed to the exchange
listener.  

Implement this interface:
org.apache.servicemix.jbi.event.ExchangeListener

Add it to the ServiceMix classpath:
 /lib (or create a new folder and add the folder to the servicemix.conf
file)

Add this to the servicemix.xml config file... any where as a child of the
parent <beans> tag:

    <sm:listeners>
       <bean class="com.yourcompany.servicemix..StatusListener"/>
    </sm:listeners>

* Must use fully qualified class name

Matt Pavlovich

-- 
View this message in context: 
http://www.nabble.com/Logging-of-the-activity-of-Service-Units-tp16300804s12049p16302201.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to