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 6973BDA5B for ; Wed, 26 Sep 2012 05:33:38 +0000 (UTC) Received: (qmail 44952 invoked by uid 500); 26 Sep 2012 05:33:38 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 44814 invoked by uid 500); 26 Sep 2012 05:33: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 44741 invoked by uid 99); 26 Sep 2012 05:33:31 -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 05:33:31 +0000 X-ASF-Spam-Status: No, hits=4.7 required=5.0 tests=FREEMAIL_FORGED_REPLYTO,FSL_FREEMAIL_1,FSL_FREEMAIL_2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.138.90.90] (HELO nm27.bullet.mail.ne1.yahoo.com) (98.138.90.90) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 26 Sep 2012 05:33:22 +0000 Received: from [98.138.226.176] by nm27.bullet.mail.ne1.yahoo.com with NNFMP; 26 Sep 2012 05:33:00 -0000 Received: from [98.138.89.172] by tm11.bullet.mail.ne1.yahoo.com with NNFMP; 26 Sep 2012 05:33:00 -0000 Received: from [127.0.0.1] by omp1028.mail.ne1.yahoo.com with NNFMP; 26 Sep 2012 05:33:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 478784.14651.bm@omp1028.mail.ne1.yahoo.com Received: (qmail 86755 invoked by uid 60001); 26 Sep 2012 05:33:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1348637580; bh=giSvs31xYU012fsLsqHrEuWhuKVtk7VqYqY9SwqE71o=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=5biqkantjCv4qwsAbgAHulWzBST0VmS90DYFGdnArFApa3FUsUT2wB1gvkaF5dgrorKellq1nB6+QZ+nJtpdD+irxXdbqqEDco7U/7wOwAe3lLiuHpLjJTQleyuIzDIuBperdO3OmjpRAMNVRRue82Y9rf1Kvk/qY7gy6vTc1A4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=ha4OjeI6CQxudUXkUIY9ZmI5ZO5ah/dTBK96sYjTodHZcOA+U+zbIaR37tjH6pgKB8UtOyp7p3GbDZSFmmyoqJknBxSfctTAUP7A1CBkS/w/IswRXl8X/PgzEZMtKJOZu1E43btvptfVU0Q3pnkueNO01EaYDM5/K5yf4YKfq6o=; X-YMail-OSG: veoel8wVM1lfspeAj65a_OJeOd.YSUlNjwDcryRAa0o0t8k LtUg5GZjAYqaoWaK.djcG6xCwsTFq4sMzCjvum1fHyg3MeRYCUS018O5UymF Izw4k4DOj2GsaX_g7xhbvYut64QftDQsnT9mY13mMe0nCwalKXfD8Rkt2ztx xohxJyY9S6Uurr1Ycp6kqxI.QSazdgyOJQHsIfTr3aVv6bzYXJo6T1SHKCX4 wLULgpVQWTuTFrmxy4yj3Wb1gTVg0LkR6zqQS5KifEiysUEWysSgb7gdeRBR LEW6LaAof77hIWXDV42hEwITmb7vntAVXrDBFRXxm_XjwBwVCaUTPD8xSzeY OCrnCYtHPJ2v9OQqfxQZcS65lzCdnp4QhyEhPGm1BFpWrgzd2ftTGFm1pX70 JH9DWrMUD9XltHAkahpe6DgtqOtV4YNK0N3PfbpBkPLihTSdC8Q-- Received: from [139.80.119.202] by web125202.mail.ne1.yahoo.com via HTTP; Tue, 25 Sep 2012 22:33:00 PDT X-Mailer: YahooMailWebService/0.8.121.434 Message-ID: <1348637580.84333.YahooMailNeo@web125202.mail.ne1.yahoo.com> Date: Tue, 25 Sep 2012 22:33:00 -0700 (PDT) From: Sura Monday Reply-To: Sura Monday Subject: how to include a processor in a route with InOut MEP To: camel maliing list MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-748019302-671397429-1348637580=:84333" X-Virus-Checked: Checked by ClamAV on apache.org ---748019302-671397429-1348637580=:84333 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi All,=0AI have a component that implements the InOut MEP. I want to inclu= de 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 te= ll me how this can be achieved?=0A=0A=A0from("jason:action?exchangePattern= =3DInOut")=0A=0A=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 .process(= new Processor() {=0A=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 public void process(Exchange exchange) throws Exception {=0A=A0=A0=A0 = =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 process ONLY the = response message=0A=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 }})= =0A=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 .bean(ValidatorBean.cl= ass);=0A/Sura=0A ---748019302-671397429-1348637580=:84333--