---
title: Configure Nodinite Pickup Service Logging Agent for MSMQ Integration
description: Configure the Nodinite Pickup Service Logging Agent to collect custom Log Events from MSMQ queues. This guide provides step-by-step setup, best practices, and integration tips for secure, scalable, and reliable log event collection from Microsoft Message Queuing.
---

<a class="nodinite-release-notes" href="https://portal.nodinite.com/marketplace/14" data-url="https://portal.nodinite.com/marketplace/14"><i class="fal fa-fw fa-file-alt" aria-hidden="true"></i> Release Notes</a>

# <i class="fal fa-edit" aria-hidden="true"></i> MSMQ Configuration Example

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>This feature has been <strong>deprecated</strong> in version 7.1.x and later. You must either migrate to a supported configuration type or continue using an older non-supported version.</p></div>
</aside>

Effortlessly integrate your enterprise systems by configuring the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Logging Service][Pickup Service] to fetch [JSON Log Events][JSON Log Event] directly from your MSMQ queues. This guide walks you through secure, scalable, and reliable log event collection using Microsoft Message Queuing.  

✅ Seamless integration with MSMQ for real-time log event collection  
✅ Secure and compliant long-term storage of log data  
✅ Scalable configuration for enterprise environments  
✅ Automated handling of invalid messages with backout queue support  

<div class="mermaid">
graph TD
    subgraph "MSMQ"
        roS("fa<i class="fal fa-list" aria-hidden="true"></i> Queue")
        roBO("fa<i class="fal fa-skull-crossbones" aria-hidden="true"></i> Backout Queue")
    end
    subgraph "Nodinite instance"
        roPS("fa<i class="fal fa-truck-pickup" aria-hidden="true"></i> Pickup Service")
        roPS -.-> | Bad/invalid messages | roBO  
        roS --> roPS
        roPS --> | Long term storage | roDB("fa<i class="fal fa-database" aria-hidden="true"></i> Log Database")  
    end
    style roS fill:#2678BD
    style roBO fill:#c33d34
    style roPS fill:#93d16d
    style roDB fill:#93d16d
</div>

*Diagram: MSMQ integration showing message flow from queue to Pickup Service, with color-coded components (blue=queue, green=healthy/active services, red=backout queue for failed messages). Invalid messages are routed to the Backout Queue for review.*  

## <i class="fal fa-list" aria-hidden="true"></i> MSMQs

The **MSMQs** section lets you manage all MSMQ queue sources for your log events.  

You configure these sources in the `Settings.json` file, which uses JSON format. The default path is:  

```cmd
C:\Program Files\Nodinite\Logging Agent - Pickup Service\Settings.json
```

```json
{
  ...
  "MSMQs": [
    {
      "Enabled": true,
      "LogApi": "https://nodinite.contoso.com:40002/LogAPI/",
      "UseConfigurationDatabase": false,
      "ConfigurationDatabaseConnectionString": null,
      "ActiveConsumers": 4,
      "Server": "localhost",
      "Queue": "Nodinite.LogAgent.PickupService.Test",
      "DeadLetterQueue": "Nodinite.LogAgent.PickupService.Test.DLQ",
      "ReplaceRules": [
        {
          "Name": "Fix Endpoint real customer id to {customerId}",
          "ReplaceName": false,
          "ReplaceUri": true,
          "Pattern": "/([0-9]{4,})$",
          "Group1Value": "{customerId}"
        }
      ]
    }
  ]
  ...                      
}
```

**MSMQs** is an **array** of MSMQ queue configurations. Each entry defines how the [Log Agent][Log Agents] connects to and processes messages from a specific MSMQ queue. This setup ensures your <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [JSON Log Events][JSON Log Event] are reliably collected and managed.  

|Property|Description|Value Example|Comment|  
|---|---|---|---|  
|<i class="fal fa-hashtag" aria-hidden="true"></i> **ActiveConsumers**|Number of consumers the agent uses to collect messages|1-n|A positive integer between 1 and 4 is recommended|  
|<i class="fal fa-server" aria-hidden="true"></i> **Server**|Name of the Windows server with MSMQ|||  
|<i class="fal fa-inbox" aria-hidden="true"></i> **Queue**|Name of the MSMQ Queue to pick up [JSON Log Event][] from||**NOTE:** Only the queue name|  
|<i class="fal fa-box-archive" aria-hidden="true"></i> **DeadLetterQueue**|Name of the Dead Letter Queue for invalid or failed events|||  
|<i class="fal fa-toggle-on" aria-hidden="true"></i> **Enabled**|See the [Shared Configuration][] section for more info|||  
|<i class="fal fa-link" aria-hidden="true"></i> [LogAPI][Log API]|See the [Shared Configuration][] section for more info|||  
|<i class="fal fa-database" aria-hidden="true"></i> **UseConfigurationDatabase**|See the [Shared Configuration][] section for more info|||  
|<i class="fal fa-plug" aria-hidden="true"></i> **ConfigurationDatabaseConnectionString**|See the [Shared Configuration][] section for more info|||  
|<i class="fal fa-exchange-alt" aria-hidden="true"></i> **ReplaceRules**|See the shared [Replace Rules][ReplaceRules] section for more info|||  

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>When you are done editing the configuration, you must restart the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/">Pickup Logging Service</a> for configuration changes to take effect.</p></div>
</aside>

## <i class="fal fa-file" aria-hidden="true"></i> Configuration file

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>This section applies for <strong>older</strong> versions (&lt;7.1.x) of the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/">Pickup Log Events Logging Service</a>.</p></div>
</aside>

For configuration details in the Settings.json file format, please refer to the [Shared Configuration][] section in the main configuration guide.

___

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-cog" aria-hidden="true"></i> [Configure][Configuration] - Set up your MSMQ integration  
* <i class="fal fa-book" aria-hidden="true"></i> [Remote Configuration Guide][Remote Configuration] - Learn the GUI setup process  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-file-code" aria-hidden="true"></i> [JSON Log Event][] - Message format specification  
* <i class="fal fa-exchange-alt" aria-hidden="true"></i> [Replace Rules][ReplaceRules] - Transform message content  
* <i class="fal fa-database" aria-hidden="true"></i> [Log Databases][] - Where log events are stored  
* <i class="fal fa-plug" aria-hidden="true"></i> [Log API][] - REST endpoint for log events  
* <i class="fal fa-info-circle" aria-hidden="true"></i> [Pickup Service Overview][Pickup Service] - Feature overview  
* <i class="fal fa-puzzle-piece" aria-hidden="true"></i> [Shared Configuration][Shared Configuration] - Common settings guide  
* <i class="fal fa-lock" aria-hidden="true"></i> [MSMQ Queue Access denied][MSMQ Access denied]  

[Configuration]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/configuration/
[JSON Log Event]:https://docs.nodinite.com/core-services/log-event/features/json-log-event/
[Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[MSMQ Access denied]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/msmq-queue-access-denied/
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Remote Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/how-do-i-configure-a-monitor-agent/
[ReplaceRules]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/configuration/#fa-exchange-alt-replace-rules-clean-up-your-dynamic-endpoints-automatically
[Shared Configuration]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/configuration/#fa-circles-overlap-shared-configuration