---
title: Configure Nodinite Pickup Service Logging Agent for Mulesoft AnypointMQ Integration
description: Unlock seamless log event collection by configuring the Nodinite Pickup Service Logging Agent for Mulesoft AnypointMQ. This guide provides step-by-step setup, best practices, and integration tips for secure, scalable, and reliable log event management.
---

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

# :fa-edit: Mulesoft AnypointMQ Configuration

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 Mulesoft AnypointMQ queues. This guide walks you through secure, scalable, and reliable log event collection, ensuring your business-critical data is always available for analysis and compliance.  

* ✅ Seamless integration with **Mulesoft AnypointMQ**  
* ✅ Secure and reliable [Log Event][] collection  
* ✅ Scalable setup for enterprise environments  
* ✅ Long-term storage and compliance-ready  

<div class="mermaid">
graph TD
    subgraph "Mulesoft AnypointMQ"
        roS("fa:fa-list: Queue")
        roBO("fa:fa-skull-crossbones: Dead Letter 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: Mulesoft AnypointMQ integration showing message flow from queue to Pickup Service, with color-coded components (blue=queue, green=healthy/active services, red=dead letter queue for failed messages). Invalid messages are routed to the Dead Letter Queue for review.*  

## Configuring Access to an Anypoint MQ Queue

To configure this card to fetch messages from an **Anypoint MQ** queue, click the **AnypointMQ** tab in the [Remote Configuration][].

1. **Enable** the configuration by checking the **Enabled** box.
2. Provide a clear **Display Name** and **Description** to identify the purpose.
3. Enter your **Username** and **Password** or enable **Use Connected App** for OAuth-based access.
   * If using OAuth, fill in **Client ID** and **Client Secret**.
4. Specify the **Queue** name you want to consume messages from.
5. (Optional) Set a **Dead Letter Queue** to capture failed messages.
6. Adjust the **Active Consumers** value to control the number of concurrent consumers.
7. (Optional) Enable **Protected**, **Is EU Panel**, or **Use Configuration DB** based on your security and data location needs.

Once configured, the system will start polling the queue and logging events according to your settings.

## :fa-list: AnypointMQs

The **AnypointMQs** section lets you manage all Mulesoft AnypointMQ sources for your log events.

In the [Remote Configuration][] GUI, navigate to the **AnypointMQs** tab. Here, you can add, edit, or remove AnypointMQ queue configurations. Each configuration defines how the :Nodinite: [Pickup Log Events Logging Service][Pickup Service] connects to and processes messages from a specific AnypointMQ queue.

![AnypointMQ Configuration Tab][1]  
*Example of the AnypointMQ configuration tab in the [Remote Configuration][] GUI.*

Click the **Add** button to create a new AnypointMQ configuration. Fill in the required fields, such as connection credentials, queue name, and consumer settings. You can also specify a Dead Letter Queue for handling invalid messages.

![AnypointMQ Configuration Accordion][2]  
*Example of an AnypointMQ configuration accordion in the [Remote Configuration][] GUI.*

Expand the accordion for each AnypointMQ configuration to access advanced settings, including [Replace Rules][ReplaceRules] for message processing. These rules allow you to modify message content before it's stored in :Nodinite:, ensuring consistency and compliance with your logging standards.

### General tab

The **General tab** provides the fundamental settings for your AnypointMQ configuration within the [Remote Configuration][] GUI.  
  ![General Tab][3]  
  *The General tab contains basic settings for the AnypointMQ configuration, including enabling/disabling the configuration and providing descriptive information.*

The following key fields are required:

|Field|Description|Required|Notes|  
|---|---|---|---|  
|:fa-toggle-on: **Enabled**|Checkbox to activate or deactivate this AnypointMQ configuration|No|When unchecked, the Pickup Service will skip this configuration|  
|:fa-tag: **Display Name**|User-friendly name for this AnypointMQ source configuration|✅ Yes|Used in the GUI and logs for easy identification|  
|:fa-align-left: **Description**|Optional detailed description of the AnypointMQ configuration|No|Helps document the purpose and details of this specific queue setup|  

Follow these guidelines when setting up the General tab:

* Use descriptive names that clearly indicate the AnypointMQ queue purpose (e.g., "Production AnypointMQ - Order Events")
* In the Description field, note important details such as the queue's business purpose, owner contact, or any special processing notes
* The Display Name appears throughout the :Nodinite: interface, so keep it concise yet meaningful
* Leave the configuration disabled during initial setup if you're not ready to start consuming messages

### Source tab

The **Source tab** contains the queue settings and consumer configuration required to consume messages from your AnypointMQ queue.  
  ![Source Tab][4]  
  *The Source tab contains settings for connecting to the AnypointMQ queue and configuring consumer options.*

The following key fields must be configured:

|Field|Description|Required|Notes|  
|---|---|---|---|  
|:fa-inbox: **Queue**|Name of the AnypointMQ queue to fetch messages from|✅ Yes|The queue must exist in your Mulesoft environment and contain [JSON Log Events][JSON Log Event]|  
|:fa-box-archive: **Dead Letter Queue**|Queue name where failed or invalid messages are automatically moved|✅ Yes|Use a unique DLQ per source for easier troubleshooting and monitoring|  
|:fa-hashtag: **Active Consumers**|Number of parallel consumers processing messages|No|Value between 1-10; default is 3. Higher values increase throughput but consume more resources|  
|:fa-earth-europe: **Use EU Panel**|Enables EU control plane for AnypointMQ|No|When checked, ensures data and operations comply with EU data residency requirements|  

Follow these guidelines for Active Consumers:

* **Low value (1-2):** Use for low message volumes or when you want to minimize resource usage and avoid overwhelming downstream systems
* **Medium value (3-5):** Recommended for most production environments; balances throughput and resource consumption
* **High value (6-10):** Use for high message volumes when your infrastructure can handle parallel consumption and needs faster processing
* Test different values to find the optimal balance for your message volume and system resources

Follow these guidelines when configuring the Source tab:

* Ensure the specified Queue exists in your Mulesoft AnypointMQ environment before enabling this configuration
* Use a descriptive Queue name that reflects the type of events it contains (e.g., `Order.Events.Log`, `Integration.Errors`)
* Always configure a Dead Letter Queue to capture and review invalid or unparseable messages
* For EU-based organizations or those with EU data residency requirements, check the **Use EU Panel** option

### Destination tab

The **Destination tab** settings are shared across all source configurations. See [Destination Tab][] in the shared configuration guide.

### Authentication tab

The **Authentication tab** contains the credentials required to connect to and authenticate with your AnypointMQ environment. AnypointMQ supports both basic authentication (username/password) and OAuth 2.0 client credentials authentication.  
  ![Authentication Tab][7]  
  *The Authentication tab contains settings for connecting to AnypointMQ, including authentication options.*

The following key fields are required for authentication:

|Field|Description|Required|Notes|  
|---|---|---|---|  
|:fa-user: **Username**|AnypointMQ account username|⚠️ Conditional|Required when not using "Use Connected App"; the account must have permission to consume from the specified queue|  
|:fa-key: **Password**|AnypointMQ account password|⚠️ Conditional|Required when not using "Use Connected App"; kept secure in the configuration|  
|:fa-square-check: **Use Connected App**|Checkbox to enable OAuth 2.0 client credentials|No|When checked, authentication uses Client ID and Client Secret instead of username/password|  
|:fa-id-badge: **Client ID**|OAuth client identifier|⚠️ Conditional|Required when "Use Connected App" is checked; issued by Mulesoft identity provider|  
|:fa-key: **Client Secret**|OAuth client secret|⚠️ Conditional|Required when "Use Connected App" is checked; the confidential key for authentication|  

Follow these guidelines for basic authentication (username/password):

* Create dedicated service accounts for each AnypointMQ queue to improve security and auditability
* Use strong, unique passwords that meet your organization's security standards
* Regularly rotate credentials and monitor access logs for unauthorized connection attempts
* Ensure the account has minimal required permissions—only access to the specific queues needed for log event collection
* Document which accounts are used for which queues for compliance and troubleshooting
* Keep credentials secure and never commit them to version control systems

Follow these guidelines for OAuth authentication (use connected app):

* Use OAuth/Connected App authentication for enhanced security and to avoid storing passwords
* Ensure your Mulesoft organization has OAuth configured and a Connected App created
* Keep Client Secret values secure and regenerate them periodically
* Use appropriate OAuth scopes that grant only the necessary permissions
* Document which Connected Apps are used for which configurations

Implement these security best practices:

* Use separate credentials for development, staging, and production environments
* Implement access controls and audit logs on your Mulesoft organization
* Regularly review access permissions and remove unused accounts or apps
* Consider using a secrets management system to store and rotate credentials
* Monitor failed authentication attempts to detect potential security issues

### Replace Rules

Read about [Replace Rules][ReplaceRules] in the shared configuration section. Replace Rules allow you to modify message content before it's stored in :Nodinite:, ensuring consistency and compliance with your logging standards.
  ![Replace Rules Tab][8]  
  *The Replace Rules tab allows you to configure rules for modifying message content.*

## :fa-list: AnypointMQs (versions <7.1.x)

>[!NOTE]
>This section applies to versions <7.1.x. Later versions include a [Remote Configuration][] feature that allows configuration via the :Nodinite: web interface ([Web Client][]).

The **AnypointMQs** section lets you manage all Mulesoft AnypointMQ 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
{
  ...
  "AnypointMQs": [
                      {
      "Enabled": true,
      "LogAPI": "https://nodinite.contoso.com:40002/LogAPI/",
      "UseConfigurationDatabase": false,
      "ConfigurationDatabaseConnectionString": null,
      "ActiveConsumers": 1,
      "Username": "nodinite-reader",
      "Password":"1337",
      "Environment": "prod",
      "EnvironmentId" : "f7a16b7b-1337-4cb5-93ba-1e5289f707ec",
      "OrganizationId": "75ec82b6-f930-4ea2-1337-7c56ee24c9d3",
      "UseConnectedApp": true,
      "IsEuPanel": false,
      "ClientId": "9186414a9dc4dfc94c4ccf670d25e4e",
      "ClientSecret": "replaceme",
      "RegionId": "eu-west-1",
      "Queue": "LogEvents",
      "DeadLetterQueue": "LogEvents.dlq",
       "ReplaceRules": [
        {
          "Name": "Fix Endpoint real customer id to {customerId}",
          "ReplaceName": false,
          "ReplaceUri": true,
          "Pattern": "/([0-9]{4,})$",
          "Group1Value": "{customerId}"
        }]
    }]
  ...                      
}
```

**AnypointMQs** is an **array** of AnypointMQ queue configurations. Each entry defines how the [Log Agent][Log Agents] connects to and processes messages from a specific AnypointMQ 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 threads to run|1|Currently limited to 1 thread|  
|:fa-user: **Username**|The name of the user to log on with|nodinite-reader||  
|:fa-key: **Password**|Password for user|1337||  
|:fa-leaf: **Environment**|The name of the environment|Test||  
|:fa-fingerprint: **EnvironmentId**|Identifier for environment|f7a16b7b-1337-4cb5-93ba-1e5289f707ec|Guid|  
|:fa-building: **OrganizationId**|Identifier for organization|65ec82b6-f930-4ea2-1337-7c56ee24c9d3|Guid|  
|:fa-map-location-dot: **RegionId**|Name of [region](https://docs.mulesoft.com/mq/mq-faq#regions)<sup>:fa-arrow-up-right-from-square:</sup>|eu-west-1|According to your run-time|  
|:fa-square-check: **UseConnectedApp**|Flag to use Connected App|`true` or `false`|True when ClientId and ClientSecret is set|  
|:fa-earth-europe: **IsEuPanel**|True when using EU control plane|`true` or  `false`||  
|:fa-id-badge: **ClientId**|ClientId when using Connected App option|9186414a9dc4dfc94c4ccf670d25e4e||  
|:fa-key: **ClientSecret**|ClientSecret when using Connected App option|replaceme||  
|:fa-inbox: **Queue**|Name of the queue with [JSON Log Events][JSON Log Event]|Nodinite-LogEvents||  
|:fa-box-archive: **DeadLetterQueue**|Name of queue for invalid [Log Events][Log Event]|Nodinite-LogEvents.DLQ||  
|: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 AnypointMQ 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  

[1]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/AnypointMQ/AnypointMQsTab.png
[2]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/AnypointMQ/EmptyAccordion.png
[3]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/AnypointMQ/GeneralTab.png
[4]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/AnypointMQ/SourceTab.png
[7]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/AnypointMQ/AuthenticationTab.png
[8]:{ndm}/Documentation%20Pictures/LogAgent/PickupService/Configuration/AnypointMQ/ReplaceRulesTab.png

[Configuration]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Getting%20started/3.%20Configuration.md
[Destination Tab]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Getting%20started/3.%20Configuration.md#fa-right-from-bracket-destination-tab
[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
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.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
[Web Client]:{ndr}/Getting%20Started/Overview.md