Configure an inbound adapter configuration to be the Discovery Agent.
Note: When you specify a list of program IDs by using the TRA property in the
adr3.discovery.pid file, if the list of program IDs is not comma-delimited, only the first program ID can be taken into effect.
Procedure
Create a project and add an adapter configuration.
Configure the necessary connection information for a client connection.
Create a Request-Response Service service using the function module,RFC_GET_LOCAL_SERVERS. Once the module has been downloaded, configure the necessary transport protocol and destination.
Create a new session using the necessary transport protocol.
Use the new session that is created a Publisher endpoint and assign the required destination to it.
Note: The destination entered must match the destination maintained in the TRA property,
adr3.discovery.listenerSubject, in the outbound adapter service.
Start a new session, create a client, and assign the same destination entered as a Request-Response Service service for function module, RFC_GET_LOCAL_SERVERS.
Maintain the Discovery Agent plugin properties in the
Advanced tab of the adapter configuration in the TIBCO Business Studio project.
In the
Advanced tab, select the
Enabled check box.
In the
Polling Client Reference field, enter the client that has been created for the session.
For the
Polling Interval field, change the value accordingly. The default value is
60000 and it is maintained in milliseconds. This value is used by the Discovery Agent as the interval for polling the available list of SAP application servers. If the value is
6000, the Discovery Agent refreshes the list of SAP application servers every 60000 milliseconds or 60 seconds.
For the
Polling Publisher Reference field, enter the publisher that has been created for the session.
For the
Application Server Domain Name field, maintain the domain name accordingly. It is good practice to maintain this field so that Domain Name Services (DNS) is used for host name resolution.