Camel seems to load its own instances of beans in camel-config.xml

testProcessor = (TestProcessor)ctx.getBean("testProcessor");
testProcessor.setPath("/home/test");

but when i do this:

sendBody("activemq:topic:edirectoryprocessed", testuserCreatePayload);

testProcessor has its old path. i.e. testProcessor.setPath("/home/test") has no 
effect in camel

is there a way to load bean definition that camel will use during the test?

thanks,

Alistair


-- 
mov eax,1
mov ebx,0
int 80h




Reply via email to