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

Make AutoSubscribe throw when missing publisher route #5195

Open
timbussmann opened this issue Jun 19, 2018 · 1 comment
Open

Make AutoSubscribe throw when missing publisher route #5195

timbussmann opened this issue Jun 19, 2018 · 1 comment

Comments

@timbussmann
Copy link
Contributor

With 7.1 and 6.5 the AutoSubscribe behavior was changed to log an error when a event type cannot be subscribed to (due to a missing RegisterPublisher configuration). This only affects transports using message driven pub/sub.

There were goals to make AutoSubscribe throw an exception instead of logging an error, similar to how Subscribe also throws an exception when subscribing manually to an event type with a missing publisher address. This idea was discarded in order to not introduce breaking behavior in a minor version. This idea should be revisited on the next major version to help users to avoid missing publisher configurations (and therefore missing events).

@timbussmann timbussmann added this to the 8.0.0 milestone Jun 19, 2018
@SeanFeldman
Copy link
Contributor

This only affects transports using message driven pub/sub.

It also affects the transports with native pub/sub. Azure Service Bus is affected as well. Particular/NServiceBus.Transport.AzureServiceBus#55

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

3 participants