Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Using the Sample Adapter | Phase 2: Adding a Connection | Configuring the Connection Node
 
Configuring the Connection Node
Perform the following procedure to configure the connection node.
*To configure the connection node
1. In Integration Server Administrator, navigate to Adapters > Sample Adapter.
The Sample Adapter management screen appears.
2. Select Connections.
3. Click Configure New Connection.
4. In the Connection Types screen, click Sample Server Connection.
5. In the Configure Connection Type screen, provide values for the connection's parameters.
a. Complete the Configure Connection Type > Sample Adapter section as follows:
Field
Description
Package
Select the namespace node package in which you create the connection. For example, TestMyWmSampleAdapter package.
Folder Name
Name of the folder in which you create the connection. For example, connections folder.
Connection Name
Name of the connection. For example, sampleConnection.
b. Complete the Connection Properties section as follows:
Field
Description
Sample Server Host Name
Sample Server host name. For example, localhost.
Sample Server Port Number
Sample Server port number. Default value is 4444.
User Id
Sample Server user id. Type the suid value.
Note:
The user ids and passwords for the Sample Server are set in the SampleServer.jar file located in Integration Server_directory \instances\<instance_name>\packages\WmSampleAdapter\backendResource directory.
Password
Sample Server password. Type the spin value.
Note:
The user ids and passwords for the Sample Server are set in the SampleServer.jar file located in Integration Server_directory \instances\<instance_name>\packages\WmSampleAdapter\backendResource directory.
Local Transaction Control?
Determines if you want to control the local transaction. Possible values:
*true.
*false. Default.
Select false.
Sample Connector Timeout
Timeout in milliseconds for the connection. Default value is 20000.
c. Complete the Connection Management Properties section as follows:
Field
Description
Enable Connection Pooling
Enables the connection to use connection pooling. Default value is true.
Minimum Pool Size
Specifies the number of connections to create when the connection is enabled. Default value is 1.
Maximum Pool Size
Specifies the maximum number of connections that can exist at one time in the connection pool. Default value is 10.
Pool Increment Size
Specifies the number of connections by which the pool will be incremented if connections are needed, up to the maximum pool size. Default value is 1.
Block Timeout
Specifies the number of milliseconds that the Integration Server waits to obtain a connection with the Sample Server before it times out and returns an error. Default value is 20000.
Expire Timeout
Specifies the number of milliseconds that inactive connections can remain in the pool before they are closed and removed from the pool. Default value is 20000.
Startup Retry Count
Specifies the number of times that the system attempts to initialize the connection pool at startup if the initial attempt fails, before issuing an AdapterConnectionException. Default value is 0. If the value is 0, then the system makes a single attempt.
Startup Backoff Timeout
Specifies the number of seconds to wait between each attempt to initialize the connection pool. Default value is 10.
Note:
This field is irrelevant if the value of Startup Retry Count is set to 0.
6. Click Test Connection.
The connection is tested based on the settings provided.
Note:
Ensure that the Sample Server is up and running before you test the connection.
7. Click Save Connection.
The connection name is now listed on the adapter's Connections screen and in the Designer.