camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dermoritz <tantea...@hotmail.com>
Subject Re: How to test routes when using another TestRunner
Date Fri, 16 Oct 2015 08:56:10 GMT
Probably it is enough to use

CamelContext context = new DefaultCamelContext();

This will create one with a JNDI-Registry (you have to register the beans
you need in test). Or u can use

CamelContext context = new DefaultCamelContext(new SimpleRegistry());

This registry is a simple map where you register the beans. 



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-test-routes-when-using-another-TestRunner-tp5772687p5772708.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message