For the consumer-specific messages, why not use a queue for each?  That seems
like the more natural approach.

Selectors introduce a few concerns.  First, the processing of each selector
can add a lot of overhead, and there is no optimization; matching a message
to a consumer involves iterating all the consumers and evaluating the
selector of each for a match against the message.  Therefore, you'll find
adding consumers to be an exponential cost, assuming every consumer uses a
unique selector.

There are additional concerns when queues are used with selectors (related
to the page size and repeated attempts to deliver messages with no matching
consumer), but those won't affect a topic-based solution.



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Destination-wildcards-or-consumer-selectors-advice-needed-tp4706814p4707908.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to