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 B20797FD1 for ; Fri, 11 Nov 2011 03:51:21 +0000 (UTC) Received: (qmail 52467 invoked by uid 500); 11 Nov 2011 03:51:21 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 52434 invoked by uid 500); 11 Nov 2011 03:51:19 -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 52426 invoked by uid 99); 11 Nov 2011 03:51:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 03:51:19 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of antony.williams@fronde.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 03:51:14 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1ROi8j-0001c5-JU for users@camel.apache.org; Thu, 10 Nov 2011 19:50:53 -0800 Date: Thu, 10 Nov 2011 19:50:53 -0800 (PST) From: awillia To: users@camel.apache.org Message-ID: <1320983453590-4983202.post@n5.nabble.com> Subject: asyncDelayed does not appear to work MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am using camel 2.8 and can't seem to get asynchronous delaying of messages working. This is my sample code. The checkDelay method delays the first message for 10 seconds and does not delay the following messages. from("activemq:sandbox:sendqueue").routeId("Test Route") .process(setInternalMessageId) .delay().method("updateMessage", "getDelay").asyncDelayed() .log(LoggingLevel.INFO, "Finished processing ${headers.InternalMessageId}"); I get the first message delayed and then all the following messages block until the first one is release and then the others go through. Am I missing something? I thought asycDelayed shouldn't block. regards Antony -- View this message in context: http://camel.465427.n5.nabble.com/asyncDelayed-does-not-appear-to-work-tp4983202p4983202.html Sent from the Camel - Users mailing list archive at Nabble.com.