found the prob - there was an activemq/camel instance already running. An error
would have been nice...
--
mov eax,1
mov ebx,0
int 80h
On 4 Jul 2011, at 13:18, Alistair Young wrote:
> 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
>
>
>
>