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
gefragt vor 3 Jahren775 Aufrufe
1 Antwort
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
beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen