On Thu, Mar 18, 2010 at 10:31 AM, BenXS <bxsto...@yahoo.co.uk> wrote: > > For a certain Queue (e.g. myqueue123) I would like to allow producers to > store new JMS messages > but not for Consumers to retrieve them. > > How can I achieve this? In other words: Which parameter do I have to set in > which confg file?
There's no explicit way in which to deny consumers the ability to consume messages if they're subscribed to the queue from the broker point of view. Such a thing is handled on the consumer-side to filter relevant messages using message selectors. Message selector expressions filter messages using message properties. Then the consumer will only consume messages that match the selector expression. http://activemq.apache.org/selectors.html Bruce -- perl -e 'print unpack("u30","D0G)u8...@4vyy9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' ActiveMQ in Action: http://bit.ly/2je6cQ Blog: http://bruceblog.org/ Twitter: http://twitter.com/brucesnyder