Quantcast
Viewing all articles
Browse latest Browse all 5648

Camel 2.14-SNAPSHOT - Is interceptFrom() broken for the Rest dsl?

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ꗪ =10s").log("Hello world")

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

Viewing all articles
Browse latest Browse all 5648

Trending Articles