Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Getting Started : Configuring the Adapter Components

Configuring the Adapter Components
This section leads you through a quick configuration exercise. This exercise covers the following tasks:
 
Task A Create a TIBCO Designer Project
TIBCO Designer is used to create projects and configure adapter instances. When starting TIBCO Designer, you must first create or open an existing project.
1.
2.
In the Save Project dialog, click the Browse button to select the location of the project and click OK. A project is created.
Task B Create and Configure an Adapter Instance
An adapter instance can contain one or more adapter services. Options for logging, startup and monitoring are set on the adapter instance. In this exercise, default values are used for these options.
1.
Drag and drop the TuxedoAdapterConfiguration icon from the palettes panel to the design panel. An adapter instance is created and the default instance name is TuxedoAdapterConfiguration. You can change the instance name.
2.
Identify the file log options in the Logging tab if you want to log trace messages. You can configure the levels of trace messages you want log, and where trace messages are sent.
3.
Click the Apply button to save the changes.
Task C Create and Configure a Publication Service
1.
In the project panel, expand the TuxedoAdapterConfiguration folder, then select the Adapter Services folder.
2.
Drag and drop the PublicationService icon from the palette panel to the design panel.
3.
In the Configuration tab, select Rendezvous in the Transport Type drop-down list. Leave the other default values unchanged.
4.
In the Publisher Options tab, select FML32 in the Buffer Type drop-down list. Leave the other default values unchanged. See Publisher Options Tab for more information about buffer type.
5.
In the Fetch Schema tab, click to specify the header file in the Request Header Reference field. The header file contains the information about the Tuxedo fields. The fields will be included in the schema used for publishing.
In this example, navigate to TIBCO_HOME\adapter\adtuxedo\veriosn_number\examples\AgentBased\PurchaseOrder and select the PODetails.h header file.
6.
Click Apply.
7.
8.
Task D Create and Configure a TIBCO ActiveMatrix BusinessWorks Process
1.
2.
Drag and drop the Process Definition icon from the Palette panel to the Design panel.
3.
4.
Double-click the pub process, drag and drop the Adapter Subscriber, Render XML, and Write File icons from the Palettes panel into the Design panel and create transition between them.
5.
a.
Click the Adapter Subscriber icon.
b.
In the Configuration tab, Click against the Adapter Service field, choose TuxedoAdapterConfiguration>Adapter Services>PublicationService, and click OK.
c.
In Transport tab, click the Refresh Adapter Service button.
6.
a.
Click the Render XML icon.
b.
In the Configuration tab, select text in the Output Style drop-down list.
c.
d.
e.
Click against the Schema field, choose AESchemas>ae>Tuxedo>TuxedoAdapterConfiguration>PublicationService and click OK as shown in
Figure 1 Selecting a Schema
f.
Click Apply.
g.
In the Input tab, create a connection between PublicationServiceRequest ($Adapter-Subscriber>ProcessStarterOutput>body>PublicationServiceRequest) in the Process Data pane and PublicationServiceRequest in the Activity Input pane.
7.
a.
Click the Write File icon.
b.
In the Input tab, create a connection between xmlString ($Render-XML>xmlString) in the Process Data pane and textContent (WriteActivityInputTextClass>textContent) in the Activity Input pane.
c.
In the fileName field under WriteActivityInputTextClass, type TIBCO_HOME\adapter\adtuxedo\veriosn_number\examples\AgentBased\PurchaseOrder\BusinessWorks\Get_output.xml
d.
Click Apply.
8.

Copyright © TIBCO Software Inc. All Rights Reserved