In a system where one client sends a message to one specific peer out of thousands, is it appropriate to use a single queue and have the peers find their messages using selectors?

Andreas Mueller

This is one possibility, but very slow, I think. Every message has to pass every receiver to check if the specific message selector does match. Also, not every vendor supports multiple receivers on a single queue. I would suggest, use publish/subscribe and map your selection criteria to topics or, if your vendor supports this, to topic hierarchies. But your sender client has to perform some pre-selection to publish to the right topic.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact