Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 12 Creating a Deployable Custom Adapter : Configuring the Adapter

Configuring the Adapter
This section explains how to configure the adapter’s monitoring options, log sinks, and advisories in TIBCO Designer.
Monitoring Tab Configuration
1.
In the Project panel, expand the folder named EXAMPLE_ZAPADAPTER, and then select the adapter configuration named ZAPAdapter.
2.
Click the Monitoring tab. Configure the options in the Monitoring tab as follows.
Figure 34 Monitoring Tab
Enable Standard MicroAgent — Select the check box.
Standard MicroAgent NameCOM.TIBCO.ADAPTER.global_acronym.%%Deployment%%.%%InstanceId%%
Where global_acronym stands for the name that is provided in the domain utility (Global Acronym is set to "adzap") while adding the adapter component to the domain. This name must be globally unique within the TIBCO Administrator domain.
Enable Class MicroAgent%%HawkEnabled%%
Class MicroAgent NameCOM.TIBCO.global_acronym. %%Deployment%%.%%InstanceId%%
Where global_acronym stands for the name that is provided in the domain utility (adzap in this example) while adding the adapter component to the domain. This name must be globally unique within the TIBCO Administrator domain.
Default Microagent Session — If non-default RVD parameters are used for the Hawk session in the Admin server, you must add a separate session in this field. For this session, the TIBHawkDaemon, TIBHawkService, and TIBHawkNetwork RVD parameters must be specified.
To change the session parameter used by the Adapter SDK standard class microagent:
a.
<session name="hawkSession" service="9000" daemon="tcp:9000" />
b.
Under the adapter instance, click the Monitoring tab and add the name of this newly created session to the Default MicroAgent Session field. Refer to the TIBCO Designer Resource Management Guide for details.
Log Sinks Configuration
1.
In the Project panel, expand EXAMPLE_ZAPADAPTER > ZAPAdapter > Advanced > Log Sinks.
2.
Select fileSink. In the Configuration tab, ensure that the File Name field is set to %%DirTrace%%/%%Deployment%%.%%InstanceId%%.log.
Figure 35 fileSink Configuration
 
3.
Select hawkSink. In the Configuration tab, ensure that the MicroAgent Name is the same with the MicroAgent name specified in the Monitoring tab.
Figure 36 hawkSink Configuration
Advisories Configuration
1.
In the Project panel, expand EXAMPLE_ZAPADAPTER > ZAPAdapter > Advanced > Advisories.
2.
RV Advisory — subject "_RV.ERROR.>" and "_RV.WARN.>"
Figure 37 Advisories Configuration

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved