Re: Temporary queues deletion

2018-08-01 Thread Michael Ivanov
YES!!! Now temporary queues are deletes as expected! Huge thanks for help! Do you think the fix should be included in proton mainline? Just in case the patch is attached. Best regards, On 01.08.2018 14:03, Gordon Sim wrote: > On 01/08/18 11:44, Michael Ivanov wrote: >> Currently I have the

Re: Temporary queues deletion

2018-08-01 Thread Gordon Sim
On 01/08/18 11:44, Michael Ivanov wrote: Currently I have the following: [0x55da51103a80]: -> AMQP [0x55da51103a80]:0 -> @open(16) [container-id="03F84325-E282-4535-800D-637EB4383871", hostname="localhost", channel-max=32767] [0x55da51103a80]:0 -> @begin(17) [next-outgoing-id=0,

Re: Temporary queues deletion

2018-08-01 Thread Michael Ivanov
Currently I have the following: [0x55da51103a80]: -> AMQP [0x55da51103a80]:0 -> @open(16) [container-id="03F84325-E282-4535-800D-637EB4383871", hostname="localhost", channel-max=32767] [0x55da51103a80]:0 -> @begin(17) [next-outgoing-id=0, incoming-window=2147483647,

Re: Temporary queues deletion

2018-08-01 Thread Gordon Sim
On 31/07/18 21:21, Michael Ivanov wrote: Then I modified messenger.c (starting from line 1768) and set 'exclusive' property there on source terminus when creating queue using '#' specifier [...] And after that I have seen that my temporary queues started to be created in exclusive mode, at

Re: Temporary queues deletion

2018-07-31 Thread Michael Ivanov
Greetings, I tried setting lifetime-policy in qmf request and I do not see any difference. Then I modified messenger.c (starting from line 1768) and set 'exclusive' property there on source terminus when creating queue using '#' specifier as follows: if (pn_streq(name, "#")) { pn_data_t

Re: Temporary queues deletion

2018-07-04 Thread Gordon Sim
On 03/07/18 21:15, Michael Ivanov wrote: Hallo, I'm trying to create a queue using qmf message to qpidd cpp (1.38) as follows (pseudocode, actually pn_data_* functions are used to construct the message): subject='broker', correlation_id='1', reply_to='X', properties={

Re: Temporary queues deletion

2018-07-03 Thread Michael Ivanov
Hallo, I'm trying to create a queue using qmf message to qpidd cpp (1.38) as follows (pseudocode, actually pn_data_* functions are used to construct the message): subject='broker', correlation_id='1', reply_to='X', properties={ 'method': 'request' 'qmf.opcode':

Re: Temporary queues deletion

2018-03-13 Thread Gordon Sim
On 13/03/18 10:25, Michael Ivanov wrote: Hallo, On 16.02.2018 21:37, Gordon Sim wrote: If the queue is both auto-delete and exclusive, it is deleted when the link that caused it to be created is closed. If it is auto-delete only, it is deleted when it is 'no longer used', which is currently

Re: Temporary queues deletion

2018-03-13 Thread Michael Ivanov
Hallo, On 16.02.2018 21:37, Gordon Sim wrote: > If the queue is both auto-delete and exclusive, it is deleted when the link > that caused it to be created is closed. If it is > auto-delete only, it is deleted when it is 'no longer used', which is > currently interpreted by qpidd to being when

Re: Temporary queues deletion

2018-02-16 Thread Gordon Sim
On 15/02/18 20:40, Michael Ivanov wrote: Greetings! I have a problem with autodeleted queues. I have a service that reads amqp messages and sends replies using reply_to value. Client that sends the message generates temporary queue to use for replies using "/#" syntax. Client sends the

Re: Temporary queues deletion

2018-02-15 Thread Gordon Sim
On 15/02/18 20:40, Michael Ivanov wrote: Greetings! I have a problem with autodeleted queues. I have a service that reads amqp messages and sends replies using reply_to value. Client that sends the message generates temporary queue to use for replies using "/#" syntax. Client sends the