activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <>
Subject Re:can we combine message groups and jms selectors
Date Wed, 27 Mar 2013 01:59:12 GMT
seems work in theory.
Why not using two queues to send the different messages?
It's more easy for problem diagnosis if some trouble is present.
Besides, Do not use sparse selector or your consumers may get stuck.

At 2013-03-26 22:58:29,"Daniel Guggi" <> wrote:
>im curious if it is possible to use message-groups and jms selectors
>i have consumer 'normalPriorityConsumer' for queue "X" with selector
>'JMSProperty >= 4'
>i have consumer 'lowPrioritiyConsumer' for queue "X" with selector
>'JMSProperty < 4'
>all messages send to queue "X" will have the JMSXGroupID header set.
>would activemq be capable of sending to the appropriate consumer based on
>the priority?
>in my scenario this might work, because we ensure that for a given
>jmsxGroupID the priority is always the same for all messages...

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message