Skip to content
This repository was archived by the owner on Aug 21, 2020. It is now read-only.
This repository was archived by the owner on Aug 21, 2020. It is now read-only.

CreateRequestClient vs. CreatePublishRequestClient #4

@colin-young

Description

@colin-young

In https://github.com/MassTransit/Sample-RequestResponse/blob/master/src/Client/Program.cs#L63, why is CreateRequestClient being used instead of CreatePublishRequestClient? I recently ran into some difficulty due to the difference: http://stackoverflow.com/q/42496157/173225

My understanding is that as presented it assumes that there is either only a single subscriber to the published message or we don't want any other subscribers to be notified. Both options appear to go against what I'd consider a best-practice when developing a pub-sub system, which is: don't assume anything about how many subscribers a given message may have. Even if you know there is only one today, that may not be true tomorrow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions