Hi Hasitha, I have a question which is out of scope of your concern. But since it's related to it I'm asking the question to know how that will be handled.
When a selection criteria is not matched, how would the unmatched messages be handled? Whether the messages are in queue or topic, would that end up in Dead Letter Channel (DLC) or do you intend to keep it untouched wherever it is. I had a requirement sometime back that when selection is not matched, those unmatched messages should remain in the queue etc. Could this be met in this implementation? On Wed, Dec 7, 2016 at 1:57 PM, Pamod Sylvester <[email protected]> wrote: > Hi Hasitha, > > An aspect i was thinking is. let's say there's a durable subscription > having the selector query/condition as '*groupID > 12*' , once the > messages are being published the durable subscription goes offline and > reconnects with a different selector query i.e '*groupID > 100*' if this > case is valid, how will we address this condition ? > > Thanks, > Pamod > > On Wed, Dec 7, 2016 at 11:15 AM, Hasitha Hiranya <[email protected]> > wrote: > >> Hi, >> >> I have following suggestion on how to implement message selectors on MB >> >> [image: Inline image 1] >> >> >> - With cluster notification upon subscription we send selector >> information as well. >> - So each node knows all subscribers with their selector info >> - When a message is published, when storing (or cloning and storing >> for durable topic subscribers), we store only if selector matches >> - This is possible if we expose selector logic of Qpid to andes >> core using an interface. >> - Then there will be no changes in delivery side. Even for durable >> topic subscribers this will work. >> >> >> WDYT? Please share your ideas. >> >> Thanks >> Hasitha >> >> -- >> *Hasitha Abeykoon* >> Senior Software Engineer; WSO2, Inc.; http://wso2.com >> *cell:* *+94 719363063* >> *blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com> >> >> > > > -- > *Pamod Sylvester * > > *WSO2 Inc.; http://wso2.com <http://wso2.com>* > cell: +94 77 7779495 <+94%2077%20777%209495> > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- Shazni Nazeer Associate Technical Lead | WSO2 Mob : +94 777737331 LinkedIn : http://lk.linkedin.com/in/shazninazeer Blog : http://shazninazeer.blogspot.com <http://wso2.com/signature>
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
