On Mon, Jul 2, 2012 at 6:21 PM, gilboy <[email protected]> wrote:
> Hi
>
> When I use the intercept feature below, is it legal to use wildchar's in the
> endpoint?
>

Yes read the docs
http://camel.apache.org/intercept



> 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.



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to