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

Request/Reply feature with fanout exchanges #87

Closed
manixx opened this issue May 31, 2017 · 2 comments
Closed

Request/Reply feature with fanout exchanges #87

manixx opened this issue May 31, 2017 · 2 comments
Assignees

Comments

@manixx
Copy link

manixx commented May 31, 2017

Hey!

I want to build a Scatter Gather pattern with rabbitmq and was wondering if the Request/Reply pattern also works with a fanout exchanges.

In short: A message is sent via request() to a fanout exchange and the callback should get the answer off all replies.
I checked the source and i saw that the message itself contains the sequence_end: false but im not able to override this inside the reply function:

msg.reply({ from: node }, { headers: { sequence_end: false }});

I'm aware that this would break the mechanism itself and there are additional steps required to get this working (make the HTTP API call to get the current bindings of the exchange).

Another approach would be to implement the whole pattern with custom queues and not using the Request/Reply functions, but I was wondering if this is possible.

Awesome module btw, thanks!

@arobson
Copy link
Owner

arobson commented Feb 18, 2018

@manixx - I've just added this feature for you. You can read the new docs here.

I hope to cut a release soon that includes this and a few other items.

@arobson arobson closed this as completed Feb 18, 2018
@manixx
Copy link
Author

manixx commented Feb 21, 2018

@arobson Thank you very much!

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

No branches or pull requests

2 participants