Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1394292F3 for ; Tue, 8 May 2012 14:26:35 +0000 (UTC) Received: (qmail 49035 invoked by uid 500); 8 May 2012 14:26:34 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 48955 invoked by uid 500); 8 May 2012 14:26:34 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 48944 invoked by uid 99); 8 May 2012 14:26:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 14:26:34 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 14:19:08 +0000 Received: by lbok6 with SMTP id k6so5343367lbo.32 for ; Tue, 08 May 2012 07:18:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=YHfSbJY/0EeWpnk3Fy4vWHeC9hJDXvNSu0HiI6xyHvU=; b=zuvlfg9PgTWDj3PC9nwKC+pSHLuGmYvjcv6SrybLcpweoqsJ6QRCECLmCsNi0CUSn7 qwbj3a473c6hjW9ePHu7xPmE+Zpc3PJ2EWaMf843wYd+Idh8niZqV3eAQnm57TCqDB6m /q6nAh9SmrNEuwKt3vv10DJBWIhKKCbwyltyuwacYPAQFr36RKG5WVcpuLZD4e/G2hq1 eSgYFZrQV50ADE2vptn1vAaPFDIB/bHIrwrG81IcHDK59MqGEamdb6Hz6bvuRQZ6T/9w 9l6lhidqaxMHfYRVklMervlBlB4tAV5LD6BI+9HTSx2MOa207c9Fgk//sx8DszHexLkg 7cMg== Received: by 10.112.45.226 with SMTP id q2mr5908002lbm.50.1336485421108; Tue, 08 May 2012 06:57:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.146.7 with HTTP; Tue, 8 May 2012 06:56:40 -0700 (PDT) In-Reply-To: <1336485000367-5694522.post@n5.nabble.com> References: <1336430321147-5692336.post@n5.nabble.com> <1336479482853-5693873.post@n5.nabble.com> <1336485000367-5694522.post@n5.nabble.com> From: Claus Ibsen Date: Tue, 8 May 2012 15:56:40 +0200 Message-ID: Subject: Re: How to send ack and then resume route with original message To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, May 8, 2012 at 3:50 PM, sekaijin wr= ote: > I'm use > > from mina > .doTry > =A0.process message > =A0.inOnly jsm:queue //send to backbone > =A0.bean prepare ACK > .doCatch > =A0.bean prepare NACK > .end > > with this method I'm sure the message is persisted in the JMS queue befor= e > sending an ACK > if the route raise an error, a NACK is returned > Yep this is also a good solution. It requires a JMS broker as the exchange. You can use a SEDA endpoint as well. And the try .. catch is simular to regular coding so thats understandable for others as well. > A+JYT > > -- > View this message in context: http://camel.465427.n5.nabble.com/How-to-se= nd-ack-and-then-resume-route-with-original-message-tp5692336p5694522.html > Sent from the Camel - Users mailing list archive at Nabble.com. --=20 Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/