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
demandé il y a 3 ans774 vues
1 réponse
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
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions