camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Commented: (CAMEL-3704) Allow endpoints to receive updates from OSGi config admin at runtime
Date Thu, 24 Feb 2011 07:55:38 GMT


Claus Ibsen commented on CAMEL-3704:

This sounds dangerous in my ears.

I would not like my production applications to 'go happy updating at will' in case someone
changed a configuration option.
Instead I would prefer that I could do the configuration updates. Notice an application may
require multiple configuration changes.
Also notice if I do a typo when updating the configuration, I would not like my application(s)
to re-start. Instead the restarts must be controlled.

And then Karaf could output a list of bundles which uses those properties that now have been

Then I can manually update those bundles when I want to.

> Allow endpoints to receive updates from OSGi config admin at runtime
> --------------------------------------------------------------------
>                 Key: CAMEL-3704
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Jonathan Anstey
>             Fix For: Future
> It would be neat to take advantage of the ability of the OSGi config admin to receive
updates to an endpoint's properties at runtime and let Camel handle restarting the underlying
services. For instance, you could have a server URL defined as a property
> {code}
>    <osgix:cm-properties id="cmProps" persistent-id="">
>       <prop key="myServerUri">http://myserver:8888</prop>
>    </osgix:cm-properties>
>    <ctx:property-placeholder properties-ref="cmProps" />
>    ... ${myServerUri} is used in a Camel endpoint URI somewhere...
> {code}
> In Karaf then you could change the myServerUri to something else and Camel would get
the config update (by way of
and restart things as appropriate.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message