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

Startup Diagnostics are not reported for NServiceBus v8 #744

Open
mikeminutillo opened this issue Jan 6, 2023 · 0 comments
Open

Startup Diagnostics are not reported for NServiceBus v8 #744

mikeminutillo opened this issue Jan 6, 2023 · 0 comments

Comments

@mikeminutillo
Copy link
Member

mikeminutillo commented Jan 6, 2023

Describe the bug

The transport adds a startup diagnostics section (Azure Service Bus transport) but it is not included in the startup diagnostics reported by the endpoint.

To Reproduce

Create an NServiceBus endpoint using NServiceBus version 8 (or above) configured to us NServiceBus.Transport.AzureServiceBus version 3 (or above).

Start the endpoint

Check the startup diagnostics file. The Azure Service Bus transport section is not included.

Expected behavior

The Azure Service Bus transport section should be included in the endpoint startup diagnostics file.

Versions:

  • NuGet package: 3.x

Root cause

This is happening because the transport is adding a startup diagnostic after they have been reported. The transport is not initialized until the call to endpointInstance.Start() here, which is just after the diagnostics are written.

Related Bug: Particular/NServiceBus#6656

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

1 participant