Ok, understand.
Thanks.
-Original Message-
From: Claus Ibsen [mailto:claus.ib...@gmail.com]
Sent: Friday, November 16, 2012 4:46 PM
To: users@camel.apache.org
Subject: Re: Problem of Intercept with When Condition
On Fri, Nov 16, 2012 at 8:52 AM, liugang wrote:
> Hi Claus:
>
&g
b...@gmail.com]
> Sent: Friday, November 16, 2012 3:49 PM
> To: users@camel.apache.org
> Subject: Re: Problem of Intercept with When Condition
>
> On Fri, Nov 16, 2012 at 8:01 AM, liugang wrote:
>> Hi Willem:
>>
>> Yes, if you add the "when" close to the
ovember 16, 2012 3:49 PM
To: users@camel.apache.org
Subject: Re: Problem of Intercept with When Condition
On Fri, Nov 16, 2012 at 8:01 AM, liugang wrote:
> Hi Willem:
>
> Yes, if you add the "when" close to the "intercept", there's no problem.
>
&
;
> Then you will see the problem.
>
The when *must* be right after the intercept!
> Please have a try.
>
> Thanks
> GangLiu
>
> -Original Message-
> From: Willem jiang [mailto:willem.ji...@gmail.com]
> Sent: Friday, November 16, 2012 2:53 PM
> To: users@
riginal Message-
From: Willem jiang [mailto:willem.ji...@gmail.com]
Sent: Friday, November 16, 2012 2:53 PM
To: users@camel.apache.org
Subject: Re: Problem of Intercept with When Condition
Hi,
I just did a quick test on camel trunk, I cannot reproduce the error that you
get.
You can check out t
Hi,
I just did a quick test on camel trunk, I cannot reproduce the error that you
get.
You can check out the unit test here[1].
[1]https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/intercept/InterceptSimpleRouteWhenTest.java
--
Willem Jiang
Red