Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 7 Subscription Service for Queue-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 sub-send process is selected by default. Click Start Selected. The process is now in Test mode. Any change to the input XML file starts the process.
7.
Enter the values for Department ID, ReplyQueue, CommunicationType, ServiceName, QueueSpace in the Get_input.xml as shown below:
<?xml version="1.0" encoding="UTF-8"?>
<Employees xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Employee>
<DEPTID>15</DEPTID>
<ReplyQueue>REPLYQ</ReplyQueue>
<CommunicationType>Queue</CommunicationType>
<ServiceName>QSERVICENEW</ServiceName>
<QueueSpace>QSPACE</QueueSpace>
</Employee>
</Employees>
8.
As soon as you make a change in the Get_input.xml the TIBCO ActiveMatrix BusinessWorks process, sub-send is triggered.
9.
10.
The sub-receiveTIBCO ActiveMatrix BusinessWorkss process gets triggered once the reply is received from the adapter Subscription service. The sub-receive process writes data into the output.xml file.
11.
Click the Stop Testing icon to return to design mode.

Copyright © TIBCO Software Inc. All Rights Reserved