Does NServiceBus guarantee publishing messages from ASP.NET Core Controller?

Greetings,

I am publishing messages from my ASP.NET Core Controller in response to some synchronous command. If a partial failure happens in between successfully committing my database transaction and NServiceBus actually dispatching my published messages while using outbox, does NServiceBus recover and resend them?

Where can I find the responsible recovery code for this specific scenario in the NServiceBus code repos?

Thank you!

Have you tried the documentation?