[jboss-user] [JBoss Messaging] - Re: Number of topic subscribers

clebert.suconic@jboss.com do-not-reply at jboss.com
Wed Dec 3 09:14:15 EST 2008

"timfox" wrote : 
  | However, using selectors on a *topic* is NOT considered an anti-pattern. Why? This is because the topic subscription will only accept messages that match the selector, therefore you know at consumption time that the subscription only contains matching messages and you don't need to scan anything.

The anti-pattern I'm referring is using selectors to filter Users of a main topic. It would be better to use temporary queues IMO.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194047#4194047

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194047

More information about the jboss-user mailing list