---
title: Enable Connection Pooling
description: When true, the agent uses connection pooling. Use connection pooling to improve performance when AM is available over low bandwidth connections, or to throttle the maximum number of connections made by the agent.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.use.connection.pooling.enabled
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.use.connection.pooling.enabled.html
---

# Enable Connection Pooling

When `true`, the agent uses connection pooling. Use connection pooling to improve performance when AM is available over low bandwidth connections, or to throttle the maximum number of connections made by the agent.

When AM is available over high bandwidth connections, connection pooling can reduce performance.

|                          |                                                                                        |
| ------------------------ | -------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.use.connection.pooling.enabled`                                  |
| Aliases                  | `org.forgerock.agents.use.connection.pooling.enabled`   Introduced in Java Agent 5.8.0 |
| Function                 | Connection pooling                                                                     |
| Type                     | Boolean: `true` returns true; all other strings return `false`.                        |
| Default                  | `false`                                                                                |
| Bootstrap property       | No                                                                                     |
| Required property        | No                                                                                     |
| Restart required         | No                                                                                     |
| Local configuration file | `AgentConfig.properties`                                                               |
