And it's still the question why the policy is not set for the queue created with:
responseQueue = session.createTemporaryQueue(); when using qpid-amqp-1-0-client-jms-0.30.jar package? If I delete the queue created from java manually and then use the same queue name with recv test utility the policy is set properly. 05.11.2015 13:27, Gordon Sim пишет: > On 11/05/2015 10:14 AM, Michael Ivanov wrote: >> Ok it worked! Probably last time when running recv I mistyped the queue name. >> But weherever I run recv with such name queue is created and when the recv >> stopped >> the queue was automatically deleted. But! It is also deleted when the send >> utility >> terminated! > > You are right, I'm sorry. For delete-on-close, the link that trigger the > creation needs to be registered as the controlling > link. This is only done when using the dynamic flag in the source at present. > So after a single message, the queue gets deleted. > > Sorry for taking up your time with an incomplete fix! It would take a > slightly more involved patch for the idea to work properly. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > -- \ / | | (OvO) | Михаил Иванов | (^^^) | Тел.: +7(911) 223-1300 | \^/ | E-mail: iv...@isle.spb.ru | ^ ^ | | --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org