How to connect to my MQTT broker in Openshift

Following these two tutorials ( https://www.anavi.org/article/182/ and http://wei-meilin.blogspot.tw/2014/05/red-hat-openshift-xpaas-simple-mqtt.html ) I installed the MQTT broker using JBoss Fuse.

Although my mqtt container disappears after a while (I don’t know why), I can do port forwarding and test the broker.

But I would like to know how to contact a broker directly. Do you know how to do this?

I tried this tutorial ( http://training.runcloudrun.com/advanced/16-Network-and-Protocols.md.html - AMQ example), but I do not have access to "/var/lib/openshift/.httpd. d / sniproxy.cfg "

+1
source share
3 answers

I used Online Openshift, and this feature is only available for Enterprise edition .

Why does the Openshift function not have this function (completed) online?

+1
source

I am the author of the first tutorial that you indicated. If you want to use MQTT without local port forwarding, please take a look at the article note on my blog and AMQ cartridge, which demonstrates SNI capabilities:

, MQTT , , - SNI, : http://training.runcloudrun.com/advanced/16-Network-and-Protocols.md.html

+2

- mqtt websocket DIY. . SO Openshift" , websocket .

mosquitto, , websocket, , .

0

All Articles