if the default session is auto ack, then with prefetch=1, a second
message will be dispatched as soon as the first is acked, which will
be before the listener is invoked.
Using client ack mode will avoid this dispatch till the ack is received.
An alternative is the use receive(timeout) in a loop an
Hi,
Did you have any chance to fix this problem? Because I also have exact same
problem with multiple consumers.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Multiple-consumers-not-consuming-tp4666078p4673866.html
Sent from the ActiveMQ - User mailing list archive at
Yeah, its definitely "Toggling" between the two clients. I added debug
messages:
ClientA
Service started... Press [Enter] to exit...
GOT MESSAGE: 4/19/2013 4:32:24 PM
FINISHED MESSAGE: 4/19/2013 4:32:35 PM
GOT MESSAGE: 4/19/2013 4:32:35 PM
FINISHED MESSAGE: 4/19/2013 4:32:45 PM
GOT MESSAGE: 4/19
Here is my ActiveMQ.xml:
http://www.springframework.org/schema/beans";
xmlns:amq="http://activemq.apache.org/schema/core";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spri
On 04/19/2013 06:14 PM, SledgeHammer wrote:
There is only a single machine involved for testing. Windows 7 PC, so I'm
using the NMS wrappers.
There is one instance of the Producer. It is submitting 1MB IBytesMessages
(about 753 of them). Producer flow control is turned off as show in the XML
sni
There is only a single machine involved for testing. Windows 7 PC, so I'm
using the NMS wrappers.
There is one instance of the Producer. It is submitting 1MB IBytesMessages
(about 753 of them). Producer flow control is turned off as show in the XML
snippet above. Everything else in the activemq.xm
On 04/19/2013 05:56 PM, SledgeHammer wrote:
I've RTFM'ed :) and I think I've got everything covered, I know this worked
at some point, but for whatever reason, it's no longer working.
I'm using the latest 5.8.0 on Windows 7.
MachineA is running the broker. Only changes to the config are the por