I am struggelig to get interceptFrom() working for the rest-DSL.

My project only has one Rest DSL route.

If I add interceptFrom().stop() in the beginning of a my RouteDefinition
file, no stop of that route occurs. In addition, if I add the
interceptFrom().stop() after my rest dsl route is defined, no exception is
thrown (as it should be).

However, if I add another regular DSL, like:

from("timer://foo?fixedRate=true&period=10s").log("Hello world") 

The interceptor is fired (and Exception is thrown if I move the interceptor
below the route). Am I missing something?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-2-14-SNAPSHOT-Is-interceptFrom-broken-for-the-Rest-dsl-tp5756537.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to