Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-1651

Sending message to deleted TemporaryQueue throws JMSException instead of IllegalDestinationException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.0.0
    • 5.1.0
    • None
    • None

    Description

      When sending a message to a deleted TemporaryQueue, a JMSException is thrown at ActiveMQSession.java:1583.
      According to the JMS 1.1 spec, section 7.3 Standard Exceptions, an IllegalDestinationException should be thrown instead:

      InvalidDestinationException: This exception must be thrown when a
      destination is either not understood by a provider or is no longer valid.

      Attachments

        Activity

          People

            rajdavies Robert Davies
            jackrabbit Dieter Vrancken
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: