Can you try 'jms:*' instead of '*jms:*' (if you use the protocol 'jms').
I think we only support wildcards at the end...
Best,
Christian
On Mon, Jul 2, 2012 at 6:21 PM, gilboy <
[hidden email]> wrote:
> 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.
>