emo project with the test.
https://doc-08-1o-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/g6huv41c8phejsrv7f9djrkie28con92/147818160/04138686178860852595/*/0B48lpc4O6VLJam5TLTZoc3VCZG8?e=download
Thank you
- oli
--
View this message in context:
http://camel.465
Hi Antonin,
in other words, CamelCdiRunner would do the job? Why it doesn't work for me?
The test class:
@RunWith(CamelCdiRunner.class)
@Beans(classes = Route.class)
public class RouteTest {
void advice(
@Observes CamelContextStartingEvent event,
@Uri("mock:test") Mo
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/Testing-CDI-Route-tp5789709p5789
It would work, if there were no third-party dependencies. I deliberately used
google guava to demostrate this
Caused by: java.lang.NoClassDefFoundError:
com/google/common/collect/ImmutableMap
That is because Deployment was JavaArchive. So, I've tried to create
WARArchive, which can include depende