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 >client.connect("khan", mqtt_user, mqtt_pass)
and >client.publish("khan",jsonStr,2);
I am using
ESP32 usign Arduino IDE
Broker: RabbitMQ
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 >client.connect("khan", mqtt_user, mqtt_pass) and >client.publish("khan",jsonStr,2);
I am using ESP32 usign Arduino IDE Broker: RabbitMQ