Openhab does not send messages to broker


Could you help me up with this? I installed openhab and mosquitto in the same pc. I tested the broker sendind messages with my mobile and it is working. But when i tried to send it from openhab the broker does not receive any message.

Switch Light_C_Corridor_Ceiling “Ceiling” (gC, Lights) {mqtt=">[broker:test:command:ON:1],>[broker:test:command:OFF:0]"}


URL to the MQTT broker, e.g. tcp://localhost:1883 or ssl://localhost:8883


Optional. Client id (max 23 chars) to use when connecting to the broker.

If not provided a default one is generated.


I also installed the mosquitto addons