Multiple consumers on a single queue, each with a transacted session, fails;
only one consumer sees messages; also message loss after a few of
receiveNoWait/rollback
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: AMQ-1351
URL: https://issues.apache.org/activemq/browse/AMQ-1351
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 4.1.1
Environment: windows XP SP2
Reporter: patrice
Setup:
one queue with a one producer and five consumers; each consumer has a
transacted session over a single connection.; each consumer is invoked in turn
using consumer.receiveNoWait().
I have also tried this with a connection per consumer, instead of a single
connection.
Result:
Only one consumer sees messages on the queue; after a number of receiveNoWait
and rollback (always for the one consumer that can consume), the message
disappears (???) and further calls to the consumer will now receive the next
message in the queue.
I see many messages concerning failures of multiple consumers on a single
queue. If this is really the case, this makes ActiveMQ useless, which is a
grave issue for me since I was blindly counting on this for a prototype
presentation.
I've looked in your test suite for multiple consumers on separate sessions, but
to no avail. Is there one ?
Any help will be appreciated.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.