You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2021/08/30 22:18:11 UTC
[GitHub] [cxf] reta commented on pull request #826: Delete temporary queue when it is used
reta commented on pull request #826:
URL: https://github.com/apache/cxf/pull/826#issuecomment-908742856
@valentin-matignon I was testing the changes and it does not seem like this PR is really needed. The JMS spec [1] says
> TemporaryQueue createTemporaryQueue() throws JMSException
>
> Creates a TemporaryQueue object. Its lifetime will be that of the Connection unless it is deleted earlier.
And indeed their lifetime is bound to the connection (tests confirm that): connection closes, queue is gone. So my question to you is: which message broker are you using that is keeping the temporary queues upon connection closing?
[1] https://docs.oracle.com/javaee/7/api/javax/jms/Session.html#createTemporaryQueue--
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org