Try OpenEdge Now
skip to main content
Managed Adapters Guide
Sonic ESB Managed Adapter : Working with Sonic ESB Adapter : Defining the Advanced properties
 

Defining the Advanced properties

In case of synchronous communication, the Sonic ESB Adapter thread, after sending the message, calls the receive() method of the reply JMS destination with small timeout value. You can configure this value, along with related values, in the Advanced Adapter Properties dialog box.
To define advanced properties:
1. From the Configuration tab of the Sonic ESB Adapter Configurator, click Advanced properties.
2. If required, add the following parameters and set their values appropriately.
Parameter
Valid values
Description
sonic.sequentialurl.enable
true/false (Default: false)
Set it to true to enable the URL access in sequence. For example, if you provide the URLs as tcp://host1:2610,tcp://host2:2612, then the host1 will always be accessed first, and if it is not available, then host2 will be accessed.
sonic.faulttolerant.enable
true/false (Default: false)
Set it to true to enable load balancing while accessing Sonic ESB.
sonic.loadbalancing.enable
true/false (Default: false)
Set it to true to enable fault tolerance while accessing Sonic ESB.
3. Modify the following parameter values.
Parameter
Default/ Maximum value in milliseconds
Description
adapter.execution.timeout
60000/ 120000
The timeout value for the response message, after which the adapter workstep instance gets suspended.
receive.timeout.for. replyToEndpoint
100/ 5000
The duration for which the adapter instance thread calls the receive()method on the configured endpoint for the response message. If no message is received in this time period, the adapter thread goes into sleep mode.
thread.sleep.between. receive
50/ 5000
The duration of the adapter thread in sleep mode. The response message, received during this time period, is stored on the endpoint and is delivered only on the next receive()call.