]
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