...
For dynamic configuration, Karaf provides a suite of command to administer the configuration service grouped under config
. To learn about all currently supported configuration commands type:
...
Command | Description |
---|---|
cancel | Change the changes to the configuration being edited. |
edit | Create or edit a configuration. |
list | List existing configurations. |
propdel | Delete a property from the edited configuration. |
proplist | List properties from the edited configuration. |
propset | Set a property on the edited configuration. |
update | Save and propagate changes from the configuration being edited. |
Editing
Select Configuration To Edit
...
Code Block |
---|
karaf@root:/> config/:edit foo.bar |
Modify Properties
Use:
config/:proplist
to list existing propertiesconfig/:propdel
to delete existing propertiesconfig/:propset
to set a new value for a property
...
Commit Or Rollback Changes
Use
config/:update
to commit all changes made in the current sessionconfig/:cancel
to roll back any changes made in the current session
...