Configure the Adapter


Creating an adapter instance implies creating an interceptor or service instance, and then adding a service. An adapter instance can contain publication and request-response invocation services if it is an interceptor instance, and subscription and request-response services if it is a service instance. In this exercise, you will configure an interceptor instance with a publication service, and a service component with a subscription service.

Options for logging, startup and monitoring are set for an instance. In this exercise, default values are used for these options.

To configure the interceptor instance
  1. Drag and drop a Folder icon from the palette panel to the design panel. Rename it to Adapter for COM. Double-click the Adapter for COM folder on the tree in the project panel. Drag and drop another Folder icon from the palette panel to the design panel. Rename it to Interceptor Instances. Double-click the Interceptor Instances folder.
  2. Drag the COMAdapterConfiguration icon from the palette panel to the design panel. This creates an adapter named by default, COMAdapterConfiguration. Change this name to TIBCOCOMInterceptor1.
  3. Click Apply.

  1. Click the Logging tab to identify the file log options.
  2. In the next diagram, Information, Warning and Error messages are specified to be logged to the log file and standard input. The Log File field lists the global variables that are used to define the log file path and name. The DirTrace and Deployment variables are set using global variables. You can click the Global Variable tab to display the variables in the project panel. The default settings will be used in this example. The InstanceId variable need not be set. The variable automatically substitutes the adapter name at run-time.

  3. Click Apply.
  4. Select Project > Save.

To configure the service instance
  1. Double-click the Adapter for COM folder on the tree in the project panel. Drag and drop a Folder icon from the palette panel to the design panel. Rename it to Service Instances. Double-click the Service Instances folder.
  2. Drag the COMAdapterConfiguration icon from the palette panel to the design panel. This creates an adapter named by default, COMAdapterConfiguration1. Change the name to TIBCOCOMService1.
  3. Select Service in the Component Type drop-down. Click Apply.

  1. Click the Run-time Connection tab to change any of the following default values. Click Apply.

  1. Click the Logging tab to identify the file log options as specified in step 4 on on page 40. Click Apply.
  2. In the Metadata Search URL box under the Startup Tab, browse to the AESchemas/ae/COM/OPERATION2Lib/UDT's and select it.
    Before you specify the URL, you must import the metadata as described in step 2 of the section Configure the Publication Service.
  3. Click Apply.
  4. Select Project > Save.

TIBCO Adapter™ for COM User’s Guide
Software Release 5.3, September 2005
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com