Hi Devs,

I have introduced listeners based model for WSO2 MB to handle
subscriptions, queues, bindings and exchanges.

There are multiple implementations of the listeners. These listeners do
various things inside the broker on for example subscription change. Note
that currently we call the listeners one after the other in blocking manner
(maybe we will need to change this i.e make hazlecast call async down the
way).

If an exception happened in one listener we should rollback all the other
things done by previously triggered listeners.  Otherwise that would create
an inconsistency.


What is the best way to do this?

Thanks

-- 
*Hasitha Abeykoon*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
*cell:* *+94 719363063*
*blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to