Hi Christian,

It worked!!
Many thanks for the quick response:)

/Sura




________________________________
 From: Christian Müller <christian.muel...@gmail.com>
To: users@camel.apache.org; Sura Monday <sura.mon...@yahoo.com> 
Sent: Wednesday, September 26, 2012 6:15 PM
Subject: Re: how to include a processor in a route with InOut MEP
 
Put the processor after the bean call in your route.

Best,
Christian

On Wed, Sep 26, 2012 at 7:33 AM, Sura Monday <sura.mon...@yahoo.com> 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
>



--

Reply via email to