Module for AS4 Version 10.1.May 2019 | Understanding and Using webMethods AS4 Module | Installing and Using AS4 Module | Configuring Module for AS4 | Configuring AS4 Configuration Properties
 
Configuring AS4 Configuration Properties
Use the AS4 configuration properties to control some of the module functions.
*To configure AS4 properties
1. Open the Integration Server_directoryinstances\Instance_Name\packages\WmAS4\config\config.cnf file in a text editor.
2. Configure the following properties:
Property
Definition
as4.cacheTPAs
Whether TPAs are cached. Valid values are:
*true—The module caches TPAs.
*false—The module does not cache TPAs. This is the default.
Note:
To improve performance in your production environment, Software AG recommends setting this property to true.
as4.message.emptyConversationId
Whether empty conversation IDs are supported. Valid values are:
*true - Empty conversation IDs are supported.
*false - Empty conversation IDs are not supported. This is the default.
as4.default.requestTimeOut
The length of time, in milliseconds, the module waits for a response to an AS4 request. The default is 30000.
as4.message.securityHeader.timeToLive
The length of time, in seconds, that the ebMS message security header is valid. The default is 3600.
as4.multihop.routingFunction
The routing service Module for AS4 invokes to determine the address of the next MSH. When this property is not configured, the module invokes the default wm.ip.estd.as4.util:routingFunction service to determine this address.
as4.nonprimary.httpPorts
Comma-separated list of non-primary HTTP ports expecting AS4 messages. Configure this property on the receiver to allow incoming AS4 messages passage through non-primary HTTP ports of Integration Server.
as4.nonprimary.httpsPorts
Comma-separated list of non-primary HTTPS ports expecting AS4 messages. Configure this property on the receiver to allow incoming AS4 messages passage through non-primary HTTPS ports of Integration Server.
as4.peppol.proxy.enable
Indicates whether the HTTP proxy server is enabled. Valid values are:
*true—The HTTP proxy server is enabled.
*false—The HTTP proxy server is disabled.
as4.peppol.proxyAlias
The HTTP proxy server alias value.
as4.twowaysync.requestTimeOut
The amount of time, in milliseconds, the module waits for responding MSH to submit a reply user message in Two-Way/Sync . The default is 3000.
as4.payload.large.enable
Whether large payload handling is enabled. Valid values are:
*true—Enabled.
*false—Disabled. This is the default.
Note:
A payload is considered large when its size is greater than the value specified in the as4.payload.large.threshold property.
as4.payload.large.threshold
The payload size in bytes over which a document is considered large. For example, if as4.payload.threshold is set to 1000000, the module considers any payload greater than 1,000,000 bytes as large.
Note:
This property should be configured to 16384 or greater. If no value is specified, or if the value configured is less than 16384, the module sets this property to 16384.
as4.pmode.validation
Whether TPA parameters are validated. Valid values are:
*true—The module validates a TPA before using it to send or process a user message or pull signal. This is the default.
*false—The module does not validate a TPA before using it to send or process a user message or pull signal.
Note:
To improve performance in your production environment, Software AG recommends setting this property to false once you have finished configuring and verifying all TPA parameters.
as4.rg.http.url
Comma-separated list of URLs of the Reverse HTTP Gateway Server. Configure this property if your Integration Server is configured to receive messages from external clients through a Reverse HTTP Gateway Server over HTTP. Use the values configured for Host and Port in Integration Server Administrator on the Security > Ports > View Internal Server Details screen.
Use the following format:

hostname:port
where hostname is the IP address or the name of the machine, and port is the HTTP port number. For example, workstation4.webmethods.com:5555
as4.rg.https.url
Comma-separated list of URLs of the Reverse HTTP Gateway Server. Configure this property if your Integration Server is configured to receive messages from external clients through a Reverse HTTP Gateway Server over HTTPS. Use the values configured for Host and Port in Integration Server Administrator on the Security > Ports > View Internal Server Details screen.
Use the following format:

hostname:port
where hostname is the IP address or the name of the machine, and port is the HTTPS port number. For example, workstation5.webmethods.com:6666.
as4.throttling.keepAliveTime
The maximum length of time an idle thread pool waits to receive a new task before terminating. The default is 100 seconds.
as4.throttling.maxThreadPoolCount
The maximum number of threads allowed in the thread pool. The default value is the number of processors available to the JVM.
as4.throttling.minThreadPoolCount
The minimum number of threads allowed in the thread pool, including idle threads. The default value is 1.
as4.throttling.queueSize
The size of the thread pool queue into which the tasks to be executed are submitted. The default is 20.
3. Click Save.
4. Restart Integration Server.