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

Broadcast Request handling #131

Open
cgs-jcdubois opened this issue Jun 16, 2021 · 3 comments
Open

Broadcast Request handling #131

cgs-jcdubois opened this issue Jun 16, 2021 · 3 comments

Comments

@cgs-jcdubois
Copy link

Hi,

Does anyone have an example on how the broadcast request is currently working? So let's say a WhoIsThere request is sent. Each endpoint would receive the WhoIsThereRequest through an exchange. Where is it expected to reply with the WhoIsThereReponse, what path should it follow? Do we have all the required information provided in the Message properties? Would it be in the Handle information? In the reply-to? Somewhere else?

Thanks,
Julie

@alexisfouqueteuroplacer
Copy link
Contributor

Hi Julie,

As far as I know, there is no information in the broadcast requests to indicate where to reply. It is up to the endpoint to know on which Exchange to answer back. So it is more a upper level configuration concern.

Best regards

Alexis

@madi-cogi
Copy link

Hi Alexis,

Just to be sure of the expected behavior here.
An endpoint is subscribed to zero or more channels (queues in RabbitMQ) and has zero or more publish channels (exchanges in RabbitMQ).
If any one of the subscribed channel receives a WhoIsThereRequest the endpoint will proceed to publish a WhoIsThereResponse to all its configured publish channels.

The original sender of the request will monitor for WhoIsThereResponse with the same Request/Correlation id?

Is this accurate?

@RobertHudjakov
Copy link
Contributor

If any one of the subscribed channel receives a WhoIsThereRequest the endpoint will proceed to publish a WhoIsThereResponse to all its configured publish channels.

Seems accurate. There's a hint in chapter 5.1.3 (CFX Message Types). Broadcast response is from Destination(s) -> Source(s).

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

4 participants