Support for NServiceBus 6

Warning: The support for NServiceBus version 6 is experimental and may undergo modifications in future releases.

The .Net Agent supports NServiceBus 6 with a queue correlation from a sender exit point to a receiver entry point. The entry and exit point names are based on destination. A destination is the name of a queue or topic that sends or receives the messages. However, an exception exists for multicast dispatches where the agent assigns a static name nservicebus_multicast

By default, the entry point instrumentation is enabled and the exit point instrumentation is disabled. To enable the exit point instrumentation, include these configurations in the agent configuration file.

config.xml
<machine-agent>
<instrumentation>
<instrumentor name="NServiceBusV6ExitInstrumentor" enabled="true" />
</instrumentation>
</machine-agent>
config.json
"instrumentors": {
"enable": [ "NServiceBusV6ExitInstrumentor" ]
}