Re: Activemq-cpp request-response

2016-07-12 Thread LeBro
Simple answer, deactivate nummessages. -- View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-cpp-request-response-tp4713776p4713851.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Activemq-cpp request-response

2016-07-11 Thread LeBro
It works. Thank you. Now there is another question: How to set up a consumer waiting forever? The timelimit can be set by waitmillis=-1, but what about deactivating the shutdown after a predefined number of messages? Thanks in advance. -- View this message in context: http://activemq.228332

Activemq-cpp request-response

2016-07-08 Thread LeBro
I started to work with Activemq-cpp and used the asychronous client that is available as example. But now I want to implement a request-response, i.e. the producer starts SENDINGa message to the consumer and WAITS for the response. The consumer GETS the message, CHANGES it and SENDS back to the pro