I found this Camel Spring Boot test
"https://github.com/apache/camel/tree/master/examples/camel-example-spring-boot".
It uses test setup:
@RunWith(CamelSpringBootRunner.class)
@SpringBootTest(classes = SampleCamelApplication.class)
public class SampleCamelApplicationTest {
@Autowired
private CamelContext camelContext;
I can't find a maven package (dependency) that includes
CamelSpringBootRunner.class .
What would be best practise way to get CamelContex when using
@RunWith(SpringRunner.class)?
Camel in Action 2ed does not help with testing in Spring Boot context :(
--
View this message in context:
http://camel.465427.n5.nabble.com/testing-routes-when-using-spring-boot-tp5795812.html
Sent from the Camel - Users mailing list archive at Nabble.com.