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 F04FFDB5A for ; Wed, 26 Sep 2012 06:15:38 +0000 (UTC) Received: (qmail 47414 invoked by uid 500); 26 Sep 2012 06:15:38 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 47022 invoked by uid 500); 26 Sep 2012 06:15:33 -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 46993 invoked by uid 99); 26 Sep 2012 06:15:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2012 06:15:32 +0000 X-ASF-Spam-Status: No, hits=3.1 required=5.0 tests=HTML_IMAGE_ONLY_12,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_REMOTE_IMAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.mueller@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qa0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2012 06:15:26 +0000 Received: by qaas11 with SMTP id s11so1251103qaa.11 for ; Tue, 25 Sep 2012 23:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=nEUeegyHpS/5w2A5pMMwpReOa7pODrP7g46nSlG9d64=; b=yBBceM538unhAIX6NHC9lkNkiyGfkxvDSi13Nt7midXTS740BHVCzGQglPZ2ACnzwi 97eDrhNpT571TXZExINOmkX1wbELhBKbfoZEWsXQrcrinMA2dZK80a5VlkelY1SnzJvu hLJcyvCEoehTBu/r1ShN2LX83jSpYp9855+YjeAFM71vPrayHWhkVWyPXCZuuIHZp8KK 1f39BpgZXsLFBHEDQH3McpEEPhaTYVXaT9/U0pJ0A+2hI7FHhUWRZd4NtXsI+8D+j7cz HH1f6Bg6b96/Ly5xETf99FUhq/7Mx3DqlqFTqy9aKOlg73wEk/rrQO4rfFKE12TFs5ta SQEA== MIME-Version: 1.0 Received: by 10.229.137.20 with SMTP id u20mr12804703qct.84.1348640105373; Tue, 25 Sep 2012 23:15:05 -0700 (PDT) Received: by 10.49.63.9 with HTTP; Tue, 25 Sep 2012 23:15:05 -0700 (PDT) In-Reply-To: <1348637580.84333.YahooMailNeo@web125202.mail.ne1.yahoo.com> References: <1348637580.84333.YahooMailNeo@web125202.mail.ne1.yahoo.com> Date: Wed, 26 Sep 2012 08:15:05 +0200 Message-ID: Subject: Re: how to include a processor in a route with InOut MEP From: =?ISO-8859-1?Q?Christian_M=FCller?= To: users@camel.apache.org, Sura Monday Content-Type: multipart/alternative; boundary=002354790f8469210804ca94be4b X-Virus-Checked: Checked by ClamAV on apache.org --002354790f8469210804ca94be4b Content-Type: text/plain; charset=ISO-8859-1 Put the processor after the bean call in your route. Best, Christian On Wed, Sep 26, 2012 at 7:33 AM, Sura Monday wrote: > Hi All, > I have a component that implements the InOut MEP. I want to include a > processor in the router in such a way that the processor modifies ONLY the > response (coming from the bean) as shown below. Can somebody please tell me > how this can be achieved? > > from("jason:action?exchangePattern=InOut") > > .process(new Processor() { > public void process(Exchange exchange) throws > Exception { > process ONLY the response message > }}) > .bean(ValidatorBean.class); > /Sura > -- --002354790f8469210804ca94be4b--