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
asked 3 years ago761 views
1 Answer
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
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions