Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Tutorial : Creating the JMS Queue Sender Process

Creating the JMS Queue Sender Process
To create the JMS Queue Sender process, follow these steps:
1.
In TIBCO Designer, select the project tree (bwaa_tutorial) in the project panel.
2.
If using the default localhost, TIBCO Enterprise Messaging Service must be installed on the same machine. If not, then point to the location where TIBCO EMS is installed and running.
3.
4.
From the palette panel, drag a Process Definition resource into the design panel.
5.
In the configuration panel, type the name JMSClient in the Name field to rename the process. Click Apply.
6.
From the palette panel, drag another Process Definition resource into the design panel.
7.
In the configuration panel, type the name JMSServer in the Name field to rename the process. Then click Apply.
8.
Save your project by choosing Project > Save from the menu.
To add activities to the process, follow these steps:
1.
Select the JMSClient process in the project tree.
The Start and End activities should be displayed in the design panel.
2.
Find the JMS palette in the palette panel and select it.
3.
Drag a JMS Queue Sender activity into the design panel.
4.
a.
Name the JMS Queue Sender as Client.
b.
Click the Browse button to the right of the JMS Connection field.
c.
Select JMS Connection in the Add a Resource dialog and click OK.
d.
Click Browse button to the right of the Destination Queue field.
e.
In the JMS Destination name browser dialog, select sample and click Set.
f.
In the Input panel, provide an input value to the Body; for example, HelloWorld.
5.
Select JMSServer process and drag a JMS Queue Receiver activity into the design panel.
6.
With the JMS Queue Receiver still selected, enter the following values in the configuration panel:
a.
Name the JMS Queue Receiver as JMSServer.
b.
Click the Browse button to the right of the JMS Connection field.
c.
Select JMS Connection in the Add a Resource and click OK.
d.
Click Browse button to the right of the Destination Queue field.
e.
In the JMS Destination name browser dialog, select sample and click Set.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved