On Thu, May 5, 2011 at 1:14 PM, Muhammad Ichsan <ich...@gmail.com> wrote:

> Using above DSL, it did work. But it does not for the following XML:
>
>                <route>
>                        <from uri="direct:casemx" />
>
>                        <setExchangePattern pattern="InOut" />
>                        <to uri="activemq:preparation" />
>                        <threads poolSize="10" />
>
>                        <to uri="bean:mocky?method=delay2000" />
>
>                        <to uri="mock:result" />
>                </route>
>
> Did I miss something?
>
> Another question is: How to apply this globally instead of applying
> this every time I see inOut pattern?
>
> Thanks

Owh, I see that this works :D

                        <threads poolSize="10">
                        <to uri="bean:mocky?method=delay2000" />

                        <to uri="mock:result" />
                        </threads>

-- 
~The best men are men who benefit to others
http://michsan.web.id 一緒に勉強しましょう!

Yang berkualitas memang beda rasanya!
http://rizqi-cookies.com

Reply via email to