Why not using the PropertyPlaceholder mechanism and providing a config file
for test? That's the way we handle properties which changes from one
environment to another.
Am 04.07.2011 15:56 schrieb "Alistair Young" <alistair.yo...@uhi.ac.uk>:
> 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