Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 6166 invoked from network); 9 Apr 2008 14:25:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2008 14:25:22 -0000 Received: (qmail 67750 invoked by uid 500); 9 Apr 2008 14:25:21 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 67720 invoked by uid 500); 9 Apr 2008 14:25:21 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 67711 invoked by uid 99); 9 Apr 2008 14:25:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 07:25:21 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 14:24:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 99D04234C0BA for ; Wed, 9 Apr 2008 07:22:32 -0700 (PDT) Message-ID: <2045363335.1207750952615.JavaMail.jira@brutus> Date: Wed, 9 Apr 2008 07:22:32 -0700 (PDT) From: "Dieter Vrancken (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQ-1651) Sending message to deleted TemporaryQueue throws JMSException instead of IllegalDestinationException MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.