DS RabbitMQ User Guide

Connection Details

Environment Component URL Port
Development Management GUI https://dataspine.efpf.linksmart.eu/rabbitmq/
Development MQTTS (MQTT/SSL) dataspine.efpf.linksmart.eu 8883
Development AMQP/SSL dataspine.efpf.linksmart.eu 5671

Steps for Getting a New User Account and/or Vhost

  • To get a new RabbitMQ user account and/or vhost for your company/organisation, send an email to the Data Spine Technical Support Team mentioning your email id (which is linked with the EFS account) and the name of your company/organisation

Steps for Getting Pub/Sub Access

  • If you already have a user account and vhost for your company/organisation and you need access to pub/sub to a particular topic, send an email to the Data Spine Technical Support Team mentioning your email/user id, name of the vhost, the topic to which access is required and the type of access that is required i.e. pub or sub.

Pub/Sub Using MQTTS

Examples:

Custom vhost (e.g. ‘custom_vhost’)

mosquitto_pub -h dataspine.efpf.linksmart.eu -p 8883 -u 'custom_vhost:username' -P 'password' -t 'tests/test1' -m 'test1' --cafile /c/Users/user1/Downloads/cacert-2020-07-22.pem

mosquitto_sub -h dataspine.efpf.linksmart.eu -p 8883 -u 'custom_vhost:username' -P 'password' -t 'tests/test1' --cafile /c/Users/user1/Downloads/cacert-2020-07-22.pem

Default vhost ‘/’

mosquitto_pub -h dataspine.efpf.linksmart.eu -p 8883 -u 'username' -P 'password' -t 'tests/test1' -m 'test1' --cafile /c/Users/user1/Downloads/cacert-2020-07-22.pem

mosquitto_sub -h dataspine.efpf.linksmart.eu -p 8883 -u 'username' -P 'password' -t 'tests/test1' --cafile /c/Users/user1/Downloads/cacert-2020-07-22.pem

You can download the CA certificates extracted from Mozilla (cacert-2020-07-22.pem) here: https://curl.haxx.se/docs/caextract.html

Previous