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

Audit queue incorrectly created on send-only endpoint #6740

Merged
merged 1 commit into from May 24, 2023

Conversation

DavidBoike
Copy link
Member

@DavidBoike DavidBoike commented May 24, 2023

The changes to the NServiceBus 8 transport seam treat all queues the same and pass them as a collection to the transport, and transports create them. Becuase the Audit feature was not dependent upon whether the endpoint was send-only, this means that the audit queue was also being created, as well as other unnecessary stuff like the diagnostics entry, logging, and adding behaviors to the receive pipeline.

This PR adds a prerequisite so that the Audit feature will not run if the endpoint is send only.

This is a fix for #6736.

@DavidBoike DavidBoike self-assigned this May 24, 2023
@DavidBoike DavidBoike added this to the 8.1.0 milestone May 24, 2023
@DavidBoike DavidBoike merged commit 23697dc into master May 24, 2023
3 checks passed
@DavidBoike DavidBoike deleted the no-audit-on-sendonly branch May 24, 2023 19:34
@DavidBoike DavidBoike added the Bug label May 24, 2023
@DavidBoike DavidBoike changed the title Don't configure auditing or create audit queue if endpoint is SendOnly Audit queue incorrectly created on send-only endpoint Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants