Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 78971 invoked from network); 27 Aug 2010 09:57:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Aug 2010 09:57:25 -0000 Received: (qmail 62184 invoked by uid 500); 27 Aug 2010 09:57:25 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 62042 invoked by uid 500); 27 Aug 2010 09:57:23 -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 62034 invoked by uid 99); 27 Aug 2010 09:57:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Aug 2010 09:57:23 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cmoulliard@gmail.com designates 209.85.161.173 as permitted sender) Received: from [209.85.161.173] (HELO mail-gx0-f173.google.com) (209.85.161.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Aug 2010 09:57:19 +0000 Received: by gxk26 with SMTP id 26so1030167gxk.32 for ; Fri, 27 Aug 2010 02:56:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=CnZ4EuV7LXxjB7cs83NvooQxp3lZgIRSgJNmuWYohas=; b=NOY9iTeZQTiDyV0ACbAe9MDZyQzxrkBsesLcnbvDGjR9faUWmithDPFnPXkwkbRWVV tlp47JxtGyQIynmh7AGm0TrNr4jcyft3vWghs8F0GC4TgslD+djVIQJntOVOvns+i7kw XqSpXseKnNTtKJAozrnLpvGgo+vv2C+/D3BpI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=GElAPuvLdKvJ3iXxreAaVKp//MvCXeFjBMZlWX6nVQ1/tIr6jwtt42ijybiFVDAce4 3gi5v8ZAnpLwjKKEBe0d9tDGWXgZf0b41J7VZElmm5l6NoCZsBPi1E+2wBelL4nUeZ2G N3cdgScRWc2aqkAN9iGYblLR0KsR2BZhkOxNo= MIME-Version: 1.0 Received: by 10.151.145.21 with SMTP id x21mr1509960ybn.244.1282903018289; Fri, 27 Aug 2010 02:56:58 -0700 (PDT) Received: by 10.150.158.3 with HTTP; Fri, 27 Aug 2010 02:56:58 -0700 (PDT) In-Reply-To: References: Date: Fri, 27 Aug 2010 11:56:58 +0200 Message-ID: Subject: Re: InterceptFrom strategy From: Charles Moulliard To: users Content-Type: multipart/alternative; boundary=0015174becfcafbc4e048ecb228c --0015174becfcafbc4e048ecb228c Content-Type: text/plain; charset=ISO-8859-1 Thx. For the future, it could be interesting that the message (exchange) is intercepted and processed asynchronously without impacting the existing route. On Fri, Aug 27, 2010 at 11:49 AM, Yiannis Mavroukakis < imavroukakis@gameaccount.com> wrote: > Hmm according to this > http://camel.apache.org/intercept.html > > It emulates AOP, as it applies to all the From routes. In your instance it > will be intercepted once as the page for Intercept details, right after the > from("direct"). > > On 27 August 2010 10:36, Charles Moulliard wrote: > > > Hi, > > > > I would like to know when we use the InterceptFrom strategy if we create > > two > > exchanges (one for the interceptor and the other for the route) and if > the > > processing of the two exchanges is done in parallel or in > > asynchronous way ? > > > > ex : > > > > InterceptFrom().to(log) > > > > from("direct").to("bean:service"); > > > > Regards, > > > > Charles Moulliard > > > > Senior Enterprise Architect (J2EE, .NET, SOA) > > Apache Camel - Karaf - ServiceMix Committer > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Blog : http://cmoulliard.blogspot.com | Twitter : > > http://twitter.com/cmoulliard > > Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: > cmoulliard > > > --0015174becfcafbc4e048ecb228c--