So when I type "qpid-config add QueuePolicy test2_tempSender . . . ." then
test2_tempSender is actually interpreted as queue name prefix?

Here's the output from qpid-config:

Queue Name                                             Attributes
===========================================================================
2073D663-550A-4A10-BC3F-425189460809_receiver-10478.0  auto-del
XDSMBX                                                 --durable
test2_tempSender4e978165-d3fa-4b25-b377-73aa1151b40e   auto-del
test2_tempSender94cfab8c-4478-4e1c-b958-6d128f60f12f   auto-del

qpid-stat -q gives more detailed information:

  queue                                                  dur  autoDel  excl  
msg   msgIn  msgOut   cons  bind
  
===========================================================================================================
  2073D663-550A-4A10-BC3F-425189460809_receiver-10478.0       Y                 
0     0      0        1     1
  XDSMBX                                                 Y                      
0     0      0        1     1
  test2_tempSender4e978165-d3fa-4b25-b377-73aa1151b40e        Y                 
0     1      1        0     1
  test2_tempSender94cfab8c-4478-4e1c-b958-6d128f60f12f        Y                 
0     1      1        0     1

Is there any way to check the policy settings for the queue?

Best regards,

04.11.2015 22:51, Gordon Sim пишет:
> On 11/04/2015 07:31 PM, Michael Ivanov wrote:
>> Thanks for the fix suggestions!
>>
>> I have applied your patch to qpidd 0.34 and replaced libqpidbroker.so.2.0.0
>> on test system. I restarted qpidd and verified that no error messages are
>> generated for qpid-config add QueuePolicy command (there were errors with
>> original version). Then I repeated my tests and the queues were still not
>> deleted. Since the queues are created usin uuid, then I need to set queue
>> policy for a queue pattern I guess? My reply queue names look like:
>>
>>     test2_tempSender4e978165-d3fa-4b25-b377-73aa1151b40e
>>
>> I tried to set queue policy for test2_tempSender, for test2_tempSender*
>> and for test2_tempSender.* In all cases the queues werre not deleted.
>>
>> Am I doing sthing wrong or this is not possible with queue policy in 0.34?
> 
> No, that should work... just to verify, you are first subscribing to 
> test2_tempSender4e978165-d3fa-4b25-b377-73aa1151b40e, then
> when the subscribing process ends the queue is not being deleted?
> 
> If you do `qpid-config queues` what do you see?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
> 


-- 
 \   / |                                   |
 (OvO) |  Mikhail Iwanow                   |
 (^^^) |      Voice:   +7 (911) 223-1300   |
  \^/  |      E-mail:  iv...@logit-ag.de   |
  ^ ^  |                                   |

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to