ActiveMQ-CPP consumer client hanging after receiving 32767 messages.

2007-10-25 Thread OB40
Hi, I was stress-testing an ActiveMQ-CPP consumer client by transmitting to it a large burst of messages (100 per second). I realised that the client hangs after receiving 32767 messages and the broker has a log message INFO PrefetchSubscription - Could not correlate acknowledgment with dispat

How to disable prefetch ActiveMQ 4.1.1

2007-10-24 Thread OB40
Hi, Is it possible to disable prefetch at the broker end. I am using a CMS client that causes the broker to throw exceptions after some time "Could not correlate acknowledgment to message". Some googling on the problem suggested that I should disable prefetch to resolve this issue. Thanks Omar

Re: Help

2007-10-23 Thread OB40
Hi, You need only one broker on one of the computers. I have learnt most of activemq-cpp from the online example which is decent (http://activemq.apache.org/cms/example.html). I am also attaching a couple of noddies I wrote, one is a transmitter (producer) and the other is a consumer. I have buil

Could not correlate acknowledgement with dispatched message

2007-10-23 Thread OB40
Hi, I have two consumers to a queue, one using JMS and the other using CMS, and a single producer. This is a basic configuration of a system I am working on. In a larger context there will be more consumers, both in C++ and Java, all consuming messages from the same queue for load balancing. The