---
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.
---

:ReleaseNotes(https://portal.nodinite.com/marketplace/14):

# :fa-edit: MSMQ Configuration Example

>[!IMPORTANT]
>This feature has been **deprecated** in version 7.1.x and later. You must either migrate to a supported configuration type or continue using an older non-supported version.  

Effortlessly integrate your enterprise systems by configuring the :Nodinite: [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:fa-list: Queue")
        roBO("fa:fa-skull-crossbones: Backout Queue")
    end
    subgraph "Nodinite instance"
        roPS("fa:fa-truck-pickup: Pickup Service")
        roPS -.-> | Bad/invalid messages | roBO  
        roS --> roPS
        roPS --> | Long term storage | roDB("fa:fa-database: 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.*  

## :fa-list: 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 :Nodinite: [JSON Log Events][JSON Log Event] are reliably collected and managed.  

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

>[!IMPORTANT]
>When you are done editing the configuration, you must restart the :Nodinite: [Pickup Logging Service][Pickup Service] for configuration changes to take effect.  

## :fa-file: Configuration file

>[!NOTE]
>This section applies for **older** versions (<7.1.x) of the :Nodinite: [Pickup Log Events Logging Service][Pickup Service].

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

___

## :fa-hand-point-right: Next Steps

* :fa-cog: [Configure][Configuration] - Set up your MSMQ integration  
* :fa-book: [Remote Configuration Guide][Remote Configuration] - Learn the GUI setup process  

## :fa-link-horizontal: Related Topics

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

[Configuration]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Getting%20started/3.%20Configuration.md
[JSON Log Event]:{ndr}/Core%20Services/Log%20Event/Features/JSON%20Log%20Event.md
[Log Agents]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Agent.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[MSMQ Access denied]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/MSMQ%20Queue%20Access%20denied.md
[Pickup Service]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Overview.md
[Remote Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/How%20do%20I%20configure%20a%20Monitor%20Agent.md
[ReplaceRules]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Getting%20started/3.%20Configuration.md#fa-exchange-alt-replace-rules-clean-up-your-dynamic-endpoints-automatically
[Shared Configuration]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Getting%20started/3.%20Configuration.md#fa-circles-overlap-shared-configuration