You only have to specify the prefetch policy on the consumer side.
In Lucas' case, I believe what is happening is that the broker is evenly
distributing the message traffic across the cluster of two consumers,
because the two consumers have the same prefetch value.
If on the other hand, you a
You may want to upgrade to ActiveMQ-CPP 2.2 - which fixed several bugs.
Regards,
Nate
On Jul 5, 2008, at 12:35 AM, dingjing wrote:
i start my c++ consumer listener and wait for message comming
infinitely
it works normally,but it always lost connection to broker whitout
exception
after ab
everett wrote:
>
> Hi,
>
> I am using the 5.1.0 release of ActiveMQ. My JVM is version 1.6.0_06 and I
> am running on Debian Sid. I have a Java web application which uses
> ActiveMQ that I have deployed in Glassfish V2 UR2. Both Glassfish and
> ActiveMQ are running on the same server.
> ...
i start my c++ consumer listener and wait for message comming infinitely
it works normally,but it always lost connection to broker whitout exception
after about 6 hours.
i can't reconnect to broker because there is no excetion to notify me.
please help me!
environment:
activemq-cpp.2.1.3
MQ 5.1