[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xmlblaster] subscribe id on update : new your opinion ...


To know if I've well understand XmlBlaster subcribe paradigm, can you correct me if I'm wrong.

In an application, differents classes has to subscribe to topics. Each class subscribe to a different topic than other class.
So, when classes subscribing, I store the 'subscribe id' to use it in the update() method.
In the update() method I take the 'subscribe id' of the incoing message and then dispatch that message to classes whish have subscibed with that 'subscribe id'.

Is that the right way ? Am I wrong ? Is there another way ?

Thank you very much for your futur comments.