In order to resolve the issues that were being seen with failures on the client end because of producer flow control the CPP client doesn't currently have a fully functional async send mechanism. It is planned to be working again in the next release. There are several other pieces that have to be ironed out before it can be implemented correctly so for now its disabled.
On Sun, 2008-09-28 at 23:23 -0700, Sodan wrote: > Hi there > > Have been integrating ActiveMQ CPP client into our project, and I now have a > question. > For example: if we do 10 producer->send then each send seems to be blocking, > so > 1) send > 2) wait for ack? > 3) goto 1 > with a latency of 100ms, 10 sends take 1 second. > I am looking for nonblocking send, so 10 sends will return immediately, and > the application > can go on. The reply from the sends might come in at later time. > > We have been reading here: > http://activemq.apache.org/configuring-activemq-cpp.html > and tried the useAsyncSend=true, but it makes no difference. > > Are we configuring wrong? or is async send not ready yet for cpp or ? > > thanx, > Søren >