Hi You should not use the interceptor tag, only the intercept.
For example: <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> <intercept> <to uri="mock:middle1"/> <stop/> </intercept> <route> <from uri="direct:start"/> <to uri="mock:end"/> </route> </camelContext> On Tue, Feb 24, 2009 at 10:33 AM, mta38 <[email protected]> wrote: > > Hi all, > Is somebody already using its own "interceptor" in a xml spring > configuration file? > In fact, I want to know if in the following definition of "intercept", the > "stop" really stops route execution. Cause for me; all other routes are > executed. > > <intercept> > <interceptor id="intercept1" ref="MyInterceptor"/> > <to uri="mock:test"/> > <stop/> > </intercept> > > Best regards, > Mta38 > -- > View this message in context: > http://www.nabble.com/Interceptor-tp22178768p22178768.html > Sent from the Camel - Users (activemq) mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/
