![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
This section leads you through a quick configuration exercise. This exercise covers the following tasks: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. Start TIBCO Designer and select New Empty Project.
2. In the Save Project dialog, click the Browse button to select the location of the project and click OK. A project is created.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.
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, clickto 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. In the Transport Type, enter the subject name. For example, enter tuxedo_demo in the Subject Name field.Task D Create and Configure a TIBCO ActiveMatrix BusinessWorks Process
1. Select the project created in Task A in the Project panel.
2. Drag and drop the Process Definition icon from the Palette panel to the Design panel.
3. In the Configuration tab, enter the process name. For example, enter pub in the Name field.
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.
a. Click the Adapter Subscriber icon.
b. In the Configuration tab, Clickagainst the Adapter Service field, choose TuxedoAdapterConfiguration>Adapter Services>PublicationService, and click OK.
c. In Transport tab, click the Refresh Adapter Service button.
a. Click the Render XML icon.
b. In the Configuration tab, select text in the Output Style drop-down list.
c. In the Input Editor tab, click the Add Child icon.
d. In the Content drop-down list, select XML Element Reference.
e. Clickagainst 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.
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.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |