Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 38342 invoked from network); 9 Dec 2008 17:50:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Dec 2008 17:50:38 -0000 Received: (qmail 3077 invoked by uid 500); 9 Dec 2008 17:50:50 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 2838 invoked by uid 500); 9 Dec 2008 17:50:50 -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 2815 invoked by uid 99); 9 Dec 2008 17:50:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Dec 2008 09:50:50 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED 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; Tue, 09 Dec 2008 17:50:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AF0BC234C2B3 for ; Tue, 9 Dec 2008 09:50:14 -0800 (PST) Message-ID: <2036822153.1228845014711.JavaMail.jira@brutus> Date: Tue, 9 Dec 2008 09:50:14 -0800 (PST) From: "Jim Gomes (JIRA)" To: dev@activemq.apache.org Subject: [jira] Work started: (AMQNET-123) IDestination interface doesn't support delete / dispose and using DisposeOf killed the connection (realting to AMQNET-2) In-Reply-To: <115898397.1226339645443.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQNET-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on AMQNET-123 started by Jim Gomes. > IDestination interface doesn't support delete / dispose and using DisposeOf killed the connection (realting to AMQNET-2) > ------------------------------------------------------------------------------------------------------------------------ > > Key: AMQNET-123 > URL: https://issues.apache.org/activemq/browse/AMQNET-123 > Project: ActiveMQ .Net > Issue Type: Bug > Components: ActiveMQ Client > Affects Versions: 1.1 > Reporter: NNZZ > Assignee: Jim Gomes > Fix For: 1.1 > > > When creating temporary queues we need to delete them as they remain live in memory as long as the connection remains live. > However, I am not clear of how I can delete the temp queues without closing the connection. I am using .Net (and therefore Apache.NMS.ActiveMQ), and I don't see any delete method in Apache.NMS.ActiveMQ.Commands.ActiveMQTempQueue (which is the runtime type returned when I create temp queue via the session), and I also don't see any delete method in Apache.NMS.ITemporaryQueue interface. > I tried to use Apache.NMS.ActiveMQ.Connection.DisposeOf which deletes the temp queue when I pass Apache.NMS.ActiveMQ.Commands.ActiveMQTempQueue to it. However, it seems to kill the connection, even though according to AMQNET-2 it should be resolved, as when I try to connect with the broker again right after I called disposeOf I am getting the following error: > System.Exception: Error writing to broker. Transport connection is closed. > at Apache.NMS.ActiveMQ.Transport.Tcp.TcpTransport.Oneway(Command command) : Transport connection error: Error writing to broker. Transport connection is closed. > Would you be able to advise us how we can delete temp queues without closing the connection. > Many thanks > N -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.