Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-2179

ActiveMQ ArtemisARTEMIS-2189 Deleting JMS temporary destination with a closed session should throw an exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • A-MQ 7.0.0.GA
    • core-jms-client
    • None
    • Red Hat ActiveMQ 7

      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."

              rhn-support-toross Tom Ross (Inactive)
              rhn-support-toross Tom Ross (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: