Receiving messages with PROTON messenger

2013-06-07 Thread atarutin
Hello all. I am using proton to work with qpid and activemq. Send and receive examples helped me to understand how I should work with messenger. But the problem is in receiving messages and I wonder does it only my problem or a common bug? The common template of receive code, that was described

Re: Receiving messages with PROTON messenger

2013-06-07 Thread Ted Ross
If I understand you correctly, you want to block until MAXCOUNT messages are received before processing the messages. Is that correct? The recv function blocks until *at most* MAXCOUNT messages are received. In practice, it will usually return after the first message is received. You can