Announcement Announcement Module
No announcement yet.
How to manage configuration at runtime Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to manage configuration at runtime

    I recently started using Configuration Admin service. The way I am controlling the values is, obviously, editing the property files and redeploying them.

    I know there is an API that allows changing configuration at runtime, but I need a program with the user interface that will actually do it.

    Is there any utility available that supports changing configuration attributes?
    Or I need to write my own?

  • #2

    dm Server does not provide a user interface for changing ConfigAdmin values at runtime.

    As you've noted ConfigurationAdmin provides this ability using the Configuration#update(java.util.Dictionary) method.

    On the receiving side, Spring DM will re-inject your configuration properties when they've changed in ConfigurationAdmin.