Hello camel experts,

I'm using camel inside of wildfly swarm application and having trouble to
create a working test with CamelCdiRunner. I've followed the example from
camel documentation but the test I've created fails with the error:

java.lang.NullPointerException
        at
org.wildfly.swarm.cdi.StageConfigBean.getBeanClass(StageConfigBean.java:48)

Now, I realize that it is might be wildfly swarm issue (or my fault :D), but
I hope that there is the way to test the route without involving wildfly
swarm at all. That's why I've used CamelCdiRunner. 

Here is demo project with the test.

https://doc-08-1o-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/g6huv41c8phejsrv7f9djrkie28con92/1478181600000/04138686178860852595/*/0B48lpc4O6VLJam5TLTZoc3VCZG8?e=download

Thank you

- oli



--
View this message in context: 
http://camel.465427.n5.nabble.com/Testing-CDI-Route-tp5789709.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to