The problem is that injections are not workin, resulting to NullPointerException.
.with @Produce(uri = "direct:in") private ProducerTemplate producerTemplate; .and @EndpointInject(uri = "mock:out") private MockEndpoint out; -- View this message in context: http://camel.465427.n5.nabble.com/CamelSpringJUnit4ClassRunner-with-Spring-Boot-tp5755876p5755877.html Sent from the Camel - Users mailing list archive at Nabble.com.