Configuring MSMQ for use with ServiceControl

Component: MSMQ Transport
NuGet Package NServiceBus.Transport.Msmq (1-pre)
Target NServiceBus Version: 7.x
This page targets a pre-release version and is subject to change prior to the final release.

ServiceControl reads messages from the input queue specified in the ServiceControl instance transport configuration. Monitored endpoints send appropriate messages, e.g. error or heartbeats, to the configured queues. ServiceControl ingests those messages in order to extract required information and saves messages in internal storage.

Depending on the selected transport and the deployment scenario, the production endpoints might require additional configuration for ServiceControl. Currently only MSMQ transport requires it.

The following transports don't need any additional configuration for remote queues:

  • SQL Server
  • RabbitMQ
  • Azure Storage Queues
  • Azure Service Bus

See Configure error handling for examples.

Remote MSMQ queues

If ServiceControl is installed on a different machine than endpoints using MSMQ Transport, then endpoints must be configured to send error and audit messages to a remote queue:


Related Articles

  • Configure error handling
    Messages that failed a certain number of times will be forwarded to the error queue. This page shows how to configure error handling.

Last modified