java - How RabbitMQ connection works between 2+ endpoints? -


i've looked @ tutorial rabbitmq rpc. client , server basicly same. assumed i've 2 or more computer want consume queue. wonder how know each other if pass own network hostname/ip connectionfactory. this example work on different machines? (can not test because of config issues).

yes, works on different machines. if want connect different computer pass different host connectionfactory.

if can't connect different machine due configuration problems, perhaps using guest:guest user, can connect localhost? https://www.rabbitmq.com/access-control.html


Comments