activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahlborn <jahlb...@gmail.com>
Subject exclusive consumer doesn't seem to be working
Date Mon, 27 Oct 2014 19:40:25 GMT
i'm experimenting with the exclusive consumer in an activemq cluster
(currently running activemq 5.9.1), and it doesn't seem to be working for
me.  we have activemq embedded in our product.  i am testing with a two node
cluster, where there is an activemq instance embedded in each node and
clustered.  i have a queue listener running on each node with the
"consumer.exclusive=true" flag set.  (i've confirmed in JMX that the
consumers have the "exclusive" flag showing as true).  i send 10 messages to
the queue on one node, and everything seems to be proceeding okay (the
consumer on that queue starts processing messages and the other consumer
gets none).  however, if i then send 10 more messages (while the first 10
are still processing) to the queue on the _other_ node, then _both_
consumers start processing messages.  am i doing something wrong?  am i
misunderstanding the feature?
thanks,
-james



--
View this message in context: http://activemq.2283324.n4.nabble.com/exclusive-consumer-doesn-t-seem-to-be-working-tp4686733.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message