On Mon, Dec 13, 2010 at 11:44 AM, John <[email protected]> wrote:
>
> Hi Claus,
>
> I'm already using a wild card to try and perform the match. The issue
> appears to be with using the adviceWith method to setup the
> interceptSendToEndpoint call in my unit test.
>
> This works perfectly when the endpoint in the route I'm testing is not
> configured via spring properties.
>
What do you mean with spring properties? Can you post your example in full?
> Here is what I'm doing in the unit test to setup the interceptor:
>
> RouteDefinition myRoute =
> context.getRouteDefinition("myRoute");
>
> myRoute.adviceWith(new RouteBuilder()
> {
>
> �...@override
> public void configure() throws Exception
> {
> interceptSendToEndpoint("http*")
> .skipSendToOriginalEndpoint()
> .to(mockWsEndpoint);
> }
> });
>
> Thanks,
>
> -john
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/interceptSendToEndpoint-with-dynamic-endpoint-tp3301978p3302930.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/