Re: CamelSpringJUnit4ClassRunner with Spring Boot

2014-08-30 Thread Claus Ibsen
The camel spring test is for regular spring. Spring boot does things a bit differently, and we have not integrated with spring boot yet. There is a related ticket here https://issues.apache.org/jira/browse/CAMEL-7699 But as Willem says you are welcome to log a ticket about a camel-spring-boot-tes

Re: CamelSpringJUnit4ClassRunner with Spring Boot

2014-08-30 Thread Willem Jiang
Can you create a JIRA with a simple test case attached? It is helpful for us to dig the issue. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On August 31, 2014 at

Re: CamelSpringJUnit4ClassRunner with Spring Boot

2014-08-30 Thread user3152723
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.465