Yep, that should work :)

On Tue, Aug 20, 2013 at 10:26 AM, bonnahu <bonn...@gmail.com> wrote:

> Hi Claus,
> If I understand correctly, you are saying adding a property placeholders
> for
> the auto startup option,
>
>  <propertyPlaceholder id="properties"
>                 location="autostartup.properties"
>             xmlns="http://camel.apache.org/schema/spring"/>
>
> In autostartup.properties, define
>
> autostartupOption = true/false
>
>
> Then in the route,  add the autoStartup property like followings?
> <route id="subscribeDsp4Route" autoStartup="{{autostartupOption}}"
> startupOrder="200">
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Apply-change-to-a-route-after-loading-camelcontext-xml-using-GenericApplicationContext-tp5737541p5737615.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Reply via email to