Tools and helpers changes in Version 6

Visual Studio PowerShell helpers removed

In NServiceBus Version 3 and higher, there was a NuGet package that provided helpers to generate XML configuration sections using the PowerShell console in Visual Studio.

For example, running the Add-NServiceBusAuditConfig ProjectName command would add the following section to the app.config file:

    <section name="AuditConfig"
             type="NServiceBus.Config.AuditConfig, NServiceBus.Core" />
  <AuditConfig QueueName="audit" />

In Versions 6 and above, these helpers have been removed. The configuration helpers encouraged creating a more complex XML configuration than was necessary, making it difficult to manage in the long run.

The recommended configuration approach is "code-first", which is more flexible and less error-prone than using the PowerShell helpers. The configuration can be read from any location at runtime, including the app.config. For more information about the API, refer to the configuration documentation dedicated to the particular functionality. For example, see how recoverability and Audit queues can be configured using code API.

MSMQ ReturnToSourceQueue.exe

The MSMQ ReturnToSourceQueue.exe tool is now deprecated. The code for this tool has been moved to ParticularLabs/MsmqReturnToSourceQueue repository. See the readme in that repository for full details.

Last modified