Closed bil7317 closed 1 year ago
There is no concept of an 'exchange' in mqtt - that is specific to RabbitMQ. You'll have to check their documentation on how to do what you want with a plain mqtt client, rather than a RabbitMQ client. I have never used rabbit, so cannot help.
Issue:
I am using RabbitMQ as message-broker and want to send data through multiple devices. I am able to send data to a specific routing key (Queue) but it must be bind with default "Exchange". I want to send data to "Exchange" of my choice. I am able to select routing key/ queue through
and
but I am unable to find any method to select an exchange. I have also studied PubSub client documemtation but could not get any useful information in this regard.
I am using ESP32 using Arduino IDE Broker: RabbitMQ