On Thu, Sep 13, 2012 at 8:36 AM, Sura Monday <sura.mon...@yahoo.com> wrote:
> Hi All,
> I have an exchange pattern like the one shown below:
>
> from("jason:action").inOut("jms:validate);
>
> from("jms:validate").bean(ValidatorBean.class);
>
> At my jason end point, if I print out [endpoint].getExchangePattern(), it 
> returns inOnly.
>
>
> Why doesn't getExchangePattern() return inOut, as it should do? Or is there 
> another method that returns inOut?
>

Its the jason component, in its consumer that decides the initial MEP.
By default its InOnly and hence why it may report that.
The component writer must handle this to set the correct MEP.

> /Sura



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to