Sending message to deleted TemporaryQueue throws JMSException instead of 
IllegalDestinationException
----------------------------------------------------------------------------------------------------

                 Key: AMQ-1651
                 URL: https://issues.apache.org/activemq/browse/AMQ-1651
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.0.0
            Reporter: Dieter Vrancken
            Priority: Minor


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:
{quote}
_InvalidDestinationException_: This exception *must be* thrown when a
destination is either not understood by a provider or is no longer valid.
{quote}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to