hello camel list,
when testing a camel-config.xml the following never returns from ctx.refresh:
public class SampleTest extends CamelSpringTestSupport {
..
protected AbstractXmlApplicationContext createApplicationContext() {
configFiles = new String[] {Paths.path("camel-context.xml")};
servletContext = new MockServletContext(Paths.path("servlet.context.home"));
FileSystemXmlApplicationContext ctx = new FileSystemXmlApplicationContext();
ctx.setConfigLocations(configFiles);
ctx.refresh();
}
the file paths are all correct but ctx.refresh() never returns. Am I doing
something wrong?
thanks,
Alistair
------------------------------------
Alistair Young
Senior Software Engineer
UHI@Sabhal Mòr Ostaig