Testing in TIBCO Business Studio for BusinessWorks
This sample uses the JMS service to return information about a city given a zip code. The sample also provides the distance between two cities as defined by their zip codes.
Before you begin
- TIBCO Enterprise Message Service must be running.
- Procedure
- In the samples directory, select
and double-click
tibco.bwce.sample.palette.jms.Consul.
For more information, see Accessing Samples.
- In Project Explorer expand the tibco.bwce.sample.palette.jms.Consul.
- Fully expand the Processes directory and double-click ZipInfoService.bwp.
- Verify your TIBCO Enterprise Message Service connection.
- Fully expand the Resources directory.
- Double-click JMSConnectionResource.jmsConnResource.
- In the Basic Configuration dialog, click the Test Connection button to verify the connection.
- Click .
- At the left hand tree of Debug Configuration wizard, expand BusinessWorks Application and select BWApplication.
- Click the Applications tab and then click the Deselect All button if you have multiple applications. Select the checkbox next to tibco.bwce.sample.palette.jms.Consul.application.
- Click
Debug.
This runs the sample in Debug mode.
- In
TIBCO Business Studio for BusinessWorks, click the
Terminate icon
to stop the process.
Result After the application has successfully started, you can see the output similar to:
22:16:36.973 INFO [bwEngThread:In-Memory Process Worker-1] c.t.b.p.g.L.t.b.s.p.j.C.BeforeJMSRequest - Sending a JMS Request Message to queue consul.queue 22:16:37.004 INFO [bwEngThread:In-Memory Process Worker-2] c.t.b.p.g.L.t.b.s.p.j.C.LogReceiveMessage - JMSReceiver Received a Message 22:16:37.028 INFO [bwEngThread:In-Memory Process Worker-3] c.t.b.p.g.L.t.b.s.p.jms.Consul.Log1 - Received a Reply From JMSReceiver ===*** Sending A Reply Back For Request Message Received *****