We've managed to come pretty far with servicemix
as it is, but still have some questions related to listeners:

1) One of our components is interested in doing something when
the container changes to STARTED state. We're using
container.setPropertyChangeListener(this). Is this ok? What if
there was a listener there before? It will be removed...

2) Another object operates on a MessageExchange, and wants
to be notified (later) of what happened to the exchange, namely
whether it failed or not. I was looking for add***Listener in either
MessageExchangeImpl or ExchangePacket, but it's not there. I'm not
even sure of whether this can be done (what if the exchange moved to
another jvm in the mean time?) but wanted to ask anyway

Thanks,

Ricardo
-- 
View this message in context: 
http://www.nabble.com/listeners-in-container-and-MessageExchange-tf2815007s12049.html#a7856014
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to