Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 87199 invoked from network); 19 Oct 2008 09:05:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Oct 2008 09:05:01 -0000 Received: (qmail 65157 invoked by uid 500); 19 Oct 2008 09:05:03 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 65141 invoked by uid 500); 19 Oct 2008 09:05:03 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 65130 invoked by uid 99); 19 Oct 2008 09:05:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Oct 2008 02:05:03 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Oct 2008 09:03:53 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KrUD8-0001sG-Fk for camel-user@activemq.apache.org; Sun, 19 Oct 2008 02:04:30 -0700 Message-ID: <20054311.post@talk.nabble.com> Date: Sun, 19 Oct 2008 02:04:30 -0700 (PDT) From: torry To: camel-user@activemq.apache.org Subject: RE: Message lost during redelivery In-Reply-To: <19851834.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: torworx@gmail.com References: <19792858.post@talk.nabble.com> <4C1FB9C00D24A140906239533638C4D2058FB8D6@EXVS04.exserver.dk> <19851834.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I have the same problem now. I want to use camel (1.5 snapshot) to help to get all the local messages form the activemq (5.1) queue and then send them to a remote activemq queue. I hope when the remote activemq was down, the local camel can retry to connect until the remote activemq comes back. My RouteBuilder is : public class MyRouteBuilder extends RouteBuilder { @Override public void configure() throws Exception { public void configure() { Class[] exceptions = new Class[]{IOException.class,Exception.class,NullPointerException.class}; for (Class ex : exceptions) { exception(ex).maximumRedeliveries(-1); }; from("localMq:queue:test").to("remoteMq:queue.test"); } } } The problem is that when the remote activemq is down and before it comes back, the local camel is down also, at this time, the message that the local camel was trying to send before it was down was lost. Should what I do that I can find back the lost message and resend it when all server is come back. Thanks any help pratibhaG wrote: > > I am using activemq as jms provider > -- View this message in context: http://www.nabble.com/Message-lost-during-redelivery-tp19792858s22882p20054311.html Sent from the Camel - Users mailing list archive at Nabble.com.