427.n5.nabble.com/Testing-CDI-Route-tp5789709.html
Sent from the Camel - Users mailing list archive at Nabble.com.
th the test.
>
> https://doc-08-1o-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/g6huv41c8phejsrv7f9djrkie28con92/147818160/04138686178860852595/*/0B48lpc4O6VLJam5TLTZoc3VCZG8?e=download
>
> Thank you
>
> - oli
>
>
>
> --
> Vi
);
MockEndpoint.assertIsSatisfied(5L, TimeUnit.SECONDS, mock);
}
}
--
View this message in context:
http://camel.465427.n5.nabble.com/Testing-CDI-Route-tp5789709p5789714.html
Sent from the Camel - Users mailing list archive at Nabble.com.
>mock.expectedMessageCount(1);
>mock.expectedBodiesReceived("bar");
> producer.sendBody("bar");
>MockEndpoint.assertIsSatisfied(5L, TimeUnit.SECONDS, mock);
>}
>
> }
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Testing-CDI-Route-tp5789709p5789714.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
I see... I've tried the approach recommended by wildfly swarm, but it didn't
work for me either. The examples are very basic and don't involve any
injecting and mocking of the parts of the route.
--
View this message in context:
http://camel.465427.n5.nabble.com/Te
and don't involve any
> injecting and mocking of the parts of the route.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Testing-CDI-Route-tp5789709p5789738.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
le to
extension interface org.wildfly.swarm.undertow.WARArchive
So, in summary it would work with JavaArchive deployment without thirt-party
dependencies.
--
View this message in context:
http://camel.465427.n5.nabble.com/Testing-CDI-Route-tp5789709p5789745.html
Sent from the Camel - User