Configure MQTT over Websockets [ActiveMQ}

0

How does one configure ActiveMQ to use MQTT over Websockets ? I was unable to find proper documentation on how to set up the configuration file for this. However, I tried adding the following lines to the configuration file

<transportConnectors>
<transportConnector name="mqtt+wss" uri="wss://myURLhere:61620"/>
</transportConnectors>

This produced the following error

The specified XML configuration data is invalid: cvc-attribute.3: The value 'mqtt_ws' of attribute 'name' on element 'transportConnector' is not valid with respect to its type, 'protocol'. and cvc-enumeration-valid: Value 'mqtt_ws' is not facet-valid with respect to enumeration '[
openwire ]'. It must be a value from the enumeration.

Any help to resolve the issue would be appreciated. Thanks !

Edited by: abhai on Feb 23, 2021 10:47 PM

Edited by: abhai on Feb 23, 2021 10:47 PM

Edited by: abhai on Feb 23, 2021 10:48 PM

abhai
preguntada hace 3 años774 visualizaciones
1 Respuesta
0

Hi abhai,
The websocket endpoint is already available to you. You can find details on our supported protocols here:
https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker.html
It supports both STOMP over websocket as well as MQTT over websocket.

Please note that we only support SSL endpoints so make sure you use that setting on the client side.

Thanks,
Mithun

AWS
respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas