camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Süess <michael.sue...@basis06.ch>
Subject Re: Overwrite blueprint properties in camel blueprint tests
Date Fri, 25 May 2012 07:22:31 GMT
Hi


Yes, this solves the problem of restarting the route after a config 
change in karaf/servicemix.

But my problem is how to set the properties in a junit test using 
CamelBlueprintTestSupport.

- where to put my config file?
- or can i set the properties programmatically in the junit test class?


On 25.05.2012 05:20, alexey-s wrote:
> Hi
>
> Change cm namespace form
>    xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
> to
>    xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
> and change lile from
> <cm:property-placeholder persistent-id="foo">
> to
> <cm:property-placeholder persistent-id="foo" update-strategy="reload">
>
> After change config file $KARAF_HOME/etc/foo.cfg, blueprint restart all
> camel route in this bundle.
>
>
> Aleksey
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Overwrite-blueprint-properties-in-camel-blueprint-tests-tp5710948p5713531.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>


-- 
Michael Sueess                           Senior Software Engineer

basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22
http://www.basis06.ch - source of smart business

Keine News verpassen? http://www.basis06.ch/newsletter-registration.html
Schon gebloggt? http://blog.basis06.ch

Mime
View raw message