---
schema_version: "1"
id: 70d117b02375fda9f3dbdcc3918638198ae0a25b640a242b71bd89f7d0477970
title: Using ADMIN.QUEUE to Refresh Connections
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/ibm-mq-connector/1.7/ibm-mq-connection-refresh.md
canonical_url: https://docs.mulesoft.com/ibm-mq-connector/1.7/ibm-mq-connection-refresh
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 446925c0e532ea9b4ad0143b84c4298b9e157844a7fdeac1ffb408fdae49e8b1
description: MuleSoft Documentation Site
release: "1.7"
latest: false
---
---
product: IBM MQ Connector
version: 1.7
keywords: jms, ibm mq, connector, publish, administrative, reset, refresh, connection, queue
---

# Using ADMIN.QUEUE to Refresh Connections

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

IBM MQ Connector provides a special administrative queue, `ADMIN.QUEUE`, that allows you to refresh
the connection or reconnect listeners during runtime. This can be useful for maintenance or error
recovery without stopping the Mule application.

## Triggering Connection Refreshes

The `ADMIN.QUEUE` destination can be used within the **Publish** operation to initiate a connection
refresh. This operation helps you dynamically manage connection disruptions and improves the
resilience of your application.

```xml
<flow name="trigger-refresh-flow">
    <ibm-mq:publish config-ref="IBMMQ_Config"
                    destination="ADMIN.QUEUE"
                    destinationType="QUEUE">
        <ibm-mq:message-builder>
            <ibm-mq:text-payload value="Trigger connection refresh"/>
        </ibm-mq:message-builder>
    </ibm-mq:publish>
</flow>
```

## Configuration Requirements

Ensure you have a valid IBM MQ configuration that includes the correct connection details:

```xml
<ibm-mq:config name="IBMMQ_Config" host="your-mq-host" port="1414" queue-manager="QM1" channel="YOUR.CHANNEL" user="mq_user" password="mq_password"/>
```

This configuration is referenced in the **Publish** operation that targets the `ADMIN.QUEUE`.

## Important Considerations

- The `ADMIN.QUEUE` is reserved for administrative purposes and must be secured.

- Only trusted users or applications must be allowed to publish messages to this queue.

- Refreshing the connection might temporarily interrupt message processing but helps recover from
  network failures or other runtime issues.

## See Also

- [To Send Messages to Queues](https://docs.mulesoft.com/ibm-mq-connector/1.7/ibm-mq-publish)

- [To Listen for New Messages](https://docs.mulesoft.com/ibm-mq-connector/1.7/ibm-mq-listener)
