camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <>
Subject Re: dynamicly change the url of the <from> element after the camelcontext is started
Date Thu, 03 Oct 2013 06:59:50 GMT

I just modified the test so that it better fits into your given use-case,
e.g. now also the "from clause" contains a placeholder (as in your case):


Spring setup:


Babak Vahdat wrote
> Hi
> Sorry for the confusion, given your concrete use-case I just added a test
> showing how you can achieve this "dynamic" behaviour:
> Babak
> salemi wrote
>> Thanks Babak. 
>> When Spring comes up and it tries to resolve the properties for the
>> beans, it doesn't use the PropertiesResolver and it uses
>> PropertyPlaceholderConfigurer's method called processProperties which
>> uses a PlaceholderResolvingStringValueResolver and you can't overwrite it
>> !
>> The code always calls the method resolvePlaceholder in
>> PropertyPlaceholderConfigurer.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message