Multithreading in Outbound Adapter

The scalability of the Outbound adapter is accommodated through the number of connections configured in the Server Connection pools. If a server connection pool is configured with Max Connections of three, there are three threads are available to receive messages from the SAP system. If the number of messages processed by the adapter needs to be increased, you need to adjust the Max Connections property accordingly. You can configure this property in one of the following ways:

Expand Project_Name > R3Connections > ServerConnections. In the Advanced Tab, specify the Max Connections field.

  • Set the number of threads through the adr3.maxconnections property in the adr3.tra file.

  • Set the system:maxconnections argument on the command line.

  • It is recommended to specify the number of threads corresponds with the number of connections required.

The maximum limit is 99 threads per server connection pool. To configure the maximum number of connections allowed, modify the profile parameter GW/MAX_CONN for the SAP application server.

For details on setting up the number of threads, see Advanced Tab.

Note:

To take advantage of the number of connections available in the server connection pool, it is recommended that you maintain the connection count available in SAP transaction SMQS for the corresponding RFC Destination.