APM Agent version
1.10.0
Environment
Operating system and version: Linux
.NET Framework/Core name and version: .NET 5
Application Target Framework: ASP.NET Core Runtime 5.0.6
Describe the bug
With the new Azure ServiceBus support, apm-agent correctly creates transactions for every received message.
However, the transaction does not contain any spans and creating spans manually fails because there is no CurrentTransaction.
Expected behavior
Calling Tracer.CurrentTransaction() in a message handler returns the automatically created transaction.
Actual behavior
Calling Tracer.CurrentTransaction() in a message handler returns null.