Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 47858 invoked from network); 27 Jun 2006 09:21:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jun 2006 09:21:16 -0000 Received: (qmail 23962 invoked by uid 500); 27 Jun 2006 09:21:15 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 23862 invoked by uid 500); 27 Jun 2006 09:21:14 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 23806 invoked by uid 99); 27 Jun 2006 09:21:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 02:21:14 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of james.strachan@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 02:21:13 -0700 Received: by ug-out-1314.google.com with SMTP id m3so1419912uge for ; Tue, 27 Jun 2006 02:20:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dmgTLayW2zhGC87vWFMj59RJtKwbNyAo67vvGpF1wjjQEjNYTH/aSmuhoaiWBQLCy3kTxoNCFOpTZok8ADgmZ4wny7syDXo0WipMKVz4bfCMOTIGsXD3DAJkF5LkqtegrLLCe776nO0xuzU+gIG02HK5+NeaISZu/UShTrxiGjg= Received: by 10.66.244.10 with SMTP id r10mr5861349ugh; Tue, 27 Jun 2006 02:20:52 -0700 (PDT) Received: by 10.66.224.1 with HTTP; Tue, 27 Jun 2006 02:20:51 -0700 (PDT) Message-ID: Date: Tue, 27 Jun 2006 10:20:51 +0100 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: Cannot use a Temporary destination from another Connection In-Reply-To: <5048744.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5048744.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can only consume from a temporary destination from the connection which created it. So just create another temporary destination and use that? On 6/26/06, zizou77 wrote: > > hello, > I've got this error message: > Cannot use a Temporary destination from another Connection > can you help me please, i don't understand why i've got this error!! > > ERROR [DefaultExceptionStrategy] Caught exception in Exception Strategy: > Cannot use a Temporary destination from another Connection > JmsConnector.dispatcher.1 > org.mule.impl.AbstractExceptionListener.(AbstractExceptionListener.java:233) > javax.jms.InvalidDestinationException: Cannot use a Temporary destination > from another Connection > at > org.apache.activemq.ActiveMQMessageConsumer.(ActiveMQMessageConsumer.java:153) > at > org.apache.activemq.ActiveMQSession.createConsumer(ActiveMQSession.java:840) > at org.mule.providers.jms.Jms11Support.createConsumer(Jms11Support.java:97) > at org.mule.providers.jms.Jms11Support.createConsumer(Jms11Support.java:84) > at > org.mule.providers.jms.JmsMessageDispatcher.dispatchMessage(JmsMessageDispatcher.java:150) > at > org.mule.providers.jms.JmsMessageDispatcher.doDispatch(JmsMessageDispatcher.java:67) > at > org.mule.providers.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:257) > at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) > at > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643) > at > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668) > at java.lang.Thread.run(Thread.java:595) > > -- > View this message in context: http://www.nabble.com/Cannot-use-a-Temporary-destination-from-another-Connection-t1849516.html#a5048744 > Sent from the ActiveMQ - User forum at Nabble.com. > > -- James ------- http://radio.weblogs.com/0112098/