activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sodan <so...@sodan.dk>
Subject Re: producer->send blocks ( ActiveMQ CPP )
Date Mon, 29 Sep 2008 12:08:59 GMT

ok, it actually does send async, sort of...
I am sending 30 msgs, and with a roundtrip latency of 100 ms
it will take approx 3 seconds to send, since it wont send the next
msg until it has gotten a ack from the previous.



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
> 
> 

-- 
View this message in context: http://www.nabble.com/producer-%3Esend-blocks-%28-ActiveMQ-CPP-%29-tp19718849p19722696.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message