Hi,
I am wondering if it is possible to have on 1 server/cluster multiple MQTT exchanges specified in the rabbitmq-env.conf file?
I am trying different formats, but get no success
mqtt.exchange = [TEST,amq.topic]
mqtt.exchange = TEST,amq.topic
---
mqtt.exchange = amq.topic
mqtt.exchange1 = TEST
---
If I specify either
mqtt.exchange = amq.topic
or
mqtt.exchange = TEST
everything works fine.
And another question related:
What makes me wonder about this is the fact, that e.g. with Java MQTT paho client I can not find any option where to specify a routing key (I just publish to an exchange, which as per above I can have only 1). So it seems to me, that if I can have only 1 Exchange and a Queue bound to it. Then basically for the MQMT protocol, all message will flow only through this 1 Exchange and Queue without any other routing possible.
Do I understand the concept correctly, or am I missing something?
Thank you very much.