Here is a snippet of the code:
@Component
@DependsOn("camelConfig")
public class IncomingRestCalls extends RouteBuilder {
interceptFrom().id("Logging interceptor").bean(NISAccessLog.class);
restConfiguration()<more code here>......;
rest(NISConfig.API_VERSION_1 + "/holdings").description("Holdings
service " + NISConfig.API_VERSION_1)
.consumes("application/json").produces("application/json")
.get("/{ID}").description("List the customers holdings for
the given ID.").outTypeList(
InsuranceDTO.class).to("log:hello");
}
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-2-14-SNAPSHOT-Is-interceptFrom-broken-for-the-Rest-dsl-tp5756537p5756539.html
Sent from the Camel - Users mailing list archive at Nabble.com.