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

<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> Mulesoft AnypointMQ Configuration

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 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<i class="fal fa-list" aria-hidden="true"></i> Queue")
        roBO("fa<i class="fal fa-skull-crossbones" aria-hidden="true"></i> Dead Letter 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: 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.

## <i class="fal fa-list" aria-hidden="true"></i> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, 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|  
|---|---|---|---|  
|<i class="fal fa-toggle-on" aria-hidden="true"></i> **Enabled**|Checkbox to activate or deactivate this AnypointMQ configuration|No|When unchecked, the Pickup Service will skip this configuration|  
|<i class="fal fa-tag" aria-hidden="true"></i> **Display Name**|User-friendly name for this AnypointMQ source configuration|✅ Yes|Used in the GUI and logs for easy identification|  
|<i class="fal fa-align-left" aria-hidden="true"></i> **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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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|  
|---|---|---|---|  
|<i class="fal fa-inbox" aria-hidden="true"></i> **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]|  
|<i class="fal fa-box-archive" aria-hidden="true"></i> **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|  
|<i class="fal fa-hashtag" aria-hidden="true"></i> **Active Consumers**|Number of parallel consumers processing messages|No|Value between 1-10; default is 3. Higher values increase throughput but consume more resources|  
|<i class="fal fa-earth-europe" aria-hidden="true"></i> **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|  
|---|---|---|---|  
|<i class="fal fa-user" aria-hidden="true"></i> **Username**|AnypointMQ account username|⚠️ Conditional|Required when not using "Use Connected App"; the account must have permission to consume from the specified queue|  
|<i class="fal fa-key" aria-hidden="true"></i> **Password**|AnypointMQ account password|⚠️ Conditional|Required when not using "Use Connected App"; kept secure in the configuration|  
|<i class="fal fa-square-check" aria-hidden="true"></i> **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|  
|<i class="fal fa-id-badge" aria-hidden="true"></i> **Client ID**|OAuth client identifier|⚠️ Conditional|Required when "Use Connected App" is checked; issued by Mulesoft identity provider|  
|<i class="fal fa-key" aria-hidden="true"></i> **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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, 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.*

## <i class="fal fa-list" aria-hidden="true"></i> AnypointMQs (versions <7.1.x)

<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 to versions &lt;7.1.x. Later versions include a <a href="https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/how-do-i-configure-a-monitor-agent/">Remote Configuration</a> feature that allows configuration via the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> web interface (<a href="https://docs.nodinite.com/getting-started/overview/">Web Client</a>).</p></div>
</aside>

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

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/AnypointMQ/AnypointMQsTab.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/AnypointMQ/EmptyAccordion.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/AnypointMQ/GeneralTab.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/AnypointMQ/SourceTab.png
[7]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/AnypointMQ/AuthenticationTab.png
[8]:https://docs.nodinite.com/media/Documentation%20Pictures/LogAgent/PickupService/Configuration/AnypointMQ/ReplaceRulesTab.png

[Configuration]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/configuration/
[Destination Tab]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/getting-started/configuration/#fa-right-from-bracket-destination-tab
[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/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/  
[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
[Web Client]:https://docs.nodinite.com/getting-started/overview/