Re: [Dev] [WSO2-MB] Subscription Listener Model

2014-09-27 Thread Chan
Hi Hasitha, I am not quite aware of what the listener does exactly in this context. If we are providing and extensible listener - how about having a rollback callback in each listener that has to be implemented. If one listener fails - the rollback callbacks of all the previously executed listeners

[Dev] [WSO2-MB] Subscription Listener Model

2014-09-27 Thread Hasitha Hiranya
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 listen