Hi

When I use the intercept feature below, is it legal to use wildchar's in the
endpoint?

Thanks
Joe

@Test
public void testSimulateErrorUsingInterceptors() throws Exception {
        RouteDefinition route = context.getRouteDefinitions().get(0);
        route.adviceWith(context, new RouteBuilder() {
        public void configure() throws Exception {
        interceptSendToEndpoint("*jms:*"*)
        .skipSendToOriginalEndpoint()
        ..............
        ..............
        }
});

--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-advicewith-to-add-interceptors-to-an-existing-route-tp5715363.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to