I'm trying to delete a port interface on Qpid without using the Broker Management GUI.
Making the change manually (using the GUI) reveals that config.json
is modified when a port is deleted (from using diff
).
My code solution uses sed
to delete the necessary lines from config.json
.
This is not working as intended however, and I think another file needs to be modified.
I have diffed
the entire qpid-broker
directory, seeing that only config.json
is changed using the GUI.
Is there a database, or some other change I'm missing to delete the port? I cannot use the GUI.
Thanks
The recommended approach is to use the REST API to customise the Broker's configuration. There are a couple of examples in the documentation to help you get started, including a couple of command line examples using cURL. The Web Management Console uses the REST API itself, so you can use tools such as Firebug to watch the REST interactions it makes for additional inspiration.