Re: qpid proton reply handling

2014-10-21 Thread Alan Conway
On Tue, 2014-10-21 at 11:43 +0400, Michael Ivanov wrote: > Greetings! > > I am new to qpid-proton, can somebody give me some pointers on how to get > replies > for the messages when working via qpidd broker? I tried to use > msgr-{send/recv} > examples from tests/tools, they seem to work fine wh

Re: qpid proton reply handling

2014-10-21 Thread Gordon Sim
On 10/21/2014 11:29 AM, Michael Ivanov wrote: Hmm, that might still be a problem. I create a messenger that to send data to specific queue and receive the replies at the application start and this process is supposed to be running permanently. Can I reuse established subscription to '#' then? (su

Re: qpid proton reply handling

2014-10-21 Thread Michael Ivanov
Hmm, that might still be a problem. I create a messenger that to send data to specific queue and receive the replies at the application start and this process is supposed to be running permanently. Can I reuse established subscription to '#' then? (subscribe on the first send and set a flag). Or wi

Re: qpid proton reply handling

2014-10-21 Thread Gordon Sim
On 10/21/2014 10:29 AM, Michael Ivanov wrote: Just one thing: should I destroy the subscription to '#' explicitely after it was used or is it deleted automatically on reply? (messenger object is not destroyed after message was sent). As far as I can tell, there is no way through the messenger A

Re: qpid proton reply handling

2014-10-21 Thread Michael Ivanov
Great that worked!! Many thanks! Just one thing: should I destroy the subscription to '#' explicitely after it was used or is it deleted automatically on reply? (messenger object is not destroyed after message was sent). Best regards, 21.10.2014 12:26, Gordon Sim пишет: > On 10/21/2014 08:43 AM,

Re: qpid proton reply handling

2014-10-21 Thread Gordon Sim
On 10/21/2014 08:43 AM, Michael Ivanov wrote: I am new to qpid-proton, can somebody give me some pointers on how to get replies for the messages when working via qpidd broker? Subscribe to an address with the '#' as the node. This is a special character that causes a dynamic, temporary, broke

qpid proton reply handling

2014-10-21 Thread Michael Ivanov
Greetings! I am new to qpid-proton, can somebody give me some pointers on how to get replies for the messages when working via qpidd broker? I tried to use msgr-{send/recv} examples from tests/tools, they seem to work fine when used without broker (I used primary queue address string amqp://~0.0.