RE: Problem of Intercept with When Condition

2012-11-16 Thread liugang
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

Re: Problem of Intercept with When Condition

2012-11-16 Thread Claus Ibsen
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

RE: Problem of Intercept with When Condition

2012-11-15 Thread liugang
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. > &

Re: Problem of Intercept with When Condition

2012-11-15 Thread Claus Ibsen
; > 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@

RE: Problem of Intercept with When Condition

2012-11-15 Thread liugang
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

Re: Problem of Intercept with When Condition

2012-11-15 Thread Willem jiang
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