Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set up on different machines? #65

Closed
haayman-imagem opened this issue Apr 28, 2020 · 3 comments
Closed

How to set up on different machines? #65

haayman-imagem opened this issue Apr 28, 2020 · 3 comments

Comments

@haayman-imagem
Copy link

I'm running a distributed setup with 2 different codebases. machine 1 creates orders and machine 2 handles them. Machine 2 has some handlers/workflows/messages that machine 1 doesn't know about.

What just happened: machine 2 tried to add some messages to the bus, but machine 1 took those messages off the queue complaining that it didn't know how to handle it.

How do I make sure machine 2's messages are kept apart? Is there a way to define 2 seperate messageQueus for RabbitMQ?

@adenhertog
Copy link
Contributor

Hey, do you have a repo that demonstrates the issue?

@haayman-imagem
Copy link
Author

Hi,

I think I just found the answer: using a different queueName on both machines does the trick. Both queues automatically bind to exchanges they can handle. Works great.
Thanks for the quick reply

@adenhertog
Copy link
Contributor

Great, glad to hear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants