camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dermoritz <>
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:
Sent from the Camel - Users mailing list archive at

View raw message