Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 11 TIBCO ActiveMatrix BusinessWorks: End-to-End Publish-Subscribe for Event Based Communication : Run and Test the Example

Run and Test the Example
Perform the following tasks to test the example.
Task A Run the Adapter in TIBCO Designer
1.
Go to Tool-> Show Adapter Tester.
2.
In the adapter tester window, click on the instance and in the Run Settings tab give the following parameters:
Working Directory : Specify a directory of your choice
Adapter Executable : Select the adapter .exe file (adtuxedo_native.exe or adtuxedo_wrkstn.exe)
3.
Click Apply and then Start.
Task B Run the TIBCO ActiveMatrix BusinessWorks Process in TIBCO Designer
1.
2.
Click the Set Breakpoints icon.
3.
In the window that appears, choose Select All, then click OK.
4.
5.
Click the Start testing viewed process button.
6.
In the process selection window that appears, the pub-sub process is selected by default. Click Start Selected. The process is now in Test mode.
7.
8.
Click the Stop Testing icon to return to design mode.
9.
In a command window, run the client file (TIBCO_HOME\adapter\adtuxedo\version_number\examples\EventBased\Employee\client). The client is associated with the Tuxedo EventBroker engine and is ready to subscribe to events based on the event name.
10.
Set the following environment variables before running the client file:
set TUXDIR=<Enter the home directory of Tuxedo>
set WSNADDR=//<Enter the Host IP Address with the Port for Workstation Listener>
set APPDIR=%TUX_ADAPTER_HOME%\examples\Synchronous\Employee
set PATH=%TUXDIR%\bin;%APPDIR%;%PATH%
11.
In another command window run the clt file. (TIBCO_HOME\adapter\adtuxedo\version_number\examples\EventBased\Employee\clt)

Copyright © TIBCO Software Inc. All Rights Reserved