[jboss-jira] [JBoss JIRA] (WFLY-11613) Deleting JMS temporary destination with a closed session should throw an exception

James Perkins (Jira) issues at jboss.org
Tue May 21 09:37:03 EDT 2019


     [ https://issues.jboss.org/browse/WFLY-11613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins resolved WFLY-11613.
----------------------------------
    Fix Version/s: 17.0.0.Beta1
       Resolution: Done


> Deleting JMS temporary destination with a closed session should throw an exception
> ----------------------------------------------------------------------------------
>
>                 Key: WFLY-11613
>                 URL: https://issues.jboss.org/browse/WFLY-11613
>             Project: WildFly
>          Issue Type: Bug
>          Components: JMS
>    Affects Versions: 15.0.1.Final
>            Reporter: Emmanuel Hugonnet
>            Assignee: Emmanuel Hugonnet
>            Priority: Major
>             Fix For: 17.0.0.Beta1
>
>
> If a client closes its JMS session (intentionally or not) and then invokes javax.jms.TemporaryQueue.delete() or javax.jms.TemporaryTopic.delete() these methods will return without actually deleting the destination (because the underlying session was closed). This can be confusing and/or mask programming errors.
> The JavaDoc for{{ javax.jms.TemporaryQueue }}states that a JMSException should be thrown, "if the JMS provider fails to delete the temporary queue due to some internal error."
> Options



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list