Embedded MQTT Broker - configured programmatically

Hello all,
I wonder if there is any possibility to configure the broker programmatically? What I would like to achieve is for example creating a GUI which will allow user to select interface and specify port on which MQTT Broker should listen for incoming messages so the user does not have to edit configuration files. Just select interface from the list and press start button at the UI.

Is there any example how to configure broker without a need to edit the config file?
Thank you very much in advance for any tips!


Hello community,

seems that nobody tried to configure the broker programmatically? Is it even possible?
Or configuration via config file is the only one option?

Best regards

Hi mkokoszka,

glad you’re interested in HiveMQ and welcome to the forum.

To answer your question, no it is not possible to configure any kind of the HiveMQ broker (CE, Embedded, Enterprise) programatically.
But one way to create a GUI for broker configuration would be changing the configuration-xml-file with the values from the GUI.

Regards Flo