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 C0D9E98C4 for ; Fri, 27 Jan 2012 13:03:37 +0000 (UTC) Received: (qmail 19439 invoked by uid 500); 27 Jan 2012 13:03:37 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 19389 invoked by uid 500); 27 Jan 2012 13:03:36 -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 19381 invoked by uid 99); 27 Jan 2012 13:03:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2012 13:03:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.215.45 as permitted sender) Received: from [209.85.215.45] (HELO mail-lpp01m010-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2012 13:03:30 +0000 Received: by lahi5 with SMTP id i5so301381lah.32 for ; Fri, 27 Jan 2012 05:03:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=Ukqs5AkLr3CynWLK8Fa9MUvC5z5HMEALicyxhnXV4uk=; b=PKeU+J4lq4Lhbmts2vNZdk7lzSK3TdqHFrqZVBeDPHdt60MWJWqNlbW0HUCITOA0RG uzfhAssrzPyihtMq1x26QXwBbULfbLYj1IrrInT/xVxotTHIq9fgopbX/IUevKh4pi/C Li+JZVvMBBMr0rL28MvzXoFHRd0L8O65ltv+A= Received: by 10.152.109.161 with SMTP id ht1mr3451528lab.33.1327669390365; Fri, 27 Jan 2012 05:03:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.4.71 with HTTP; Fri, 27 Jan 2012 05:02:50 -0800 (PST) In-Reply-To: References: From: Claus Ibsen Date: Fri, 27 Jan 2012 14:02:50 +0100 Message-ID: Subject: Re: Delays and Transactions To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Ad 1) Yes Ad 2) Thanks for reporting. I have logged a ticket https://issues.apache.org/jira/browse/CAMEL-4947 On Fri, Jan 27, 2012 at 12:11 PM, Tom Howe wrote: > Hi, > 2 Questions.. > > 1) If I use asyncDelayed(), do I lose any transactionallity on the > route (due to crossing threads)? > > from("activemq:queue:foo").transacted().delay(1000).asyncDelayed().to("ac= tivemq:aDelayedQueue"); > > > 2) The spring DSL for setting delay time with does not > appear to work. providing any values for ref or method has no effect, > including invalid ones. > > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 > > The message is routed but not delay is applied and computeDelay() is not = called. > > Advice greatly appreciated. > > Thanks, Tom --=20 Claus Ibsen ----------------- 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/