This sample illustrates the support of JMS destination bridges in 
	 TIBCO ActiveMatrix BusinessWorks™. 
  
 
	 Prerequisites
 
		 
		 
		  -  TIBCO Enterprise Message Service must be running. 
		  
- In TIBCO EMS administration, create 
			 queue.sample and 
			 topic.sample before executing the sample. 
		  
-  A bridge must be created between Topic to Queue, that is, between 
			 topic.sample and 
			 queue.sample. 
		  
- Create queue replyQueue. 
		  
 
 
	 Procedure
-  
		  In the samples directory, select 
			  and double-click 
			 tibco.bw.sample.binding.soap.jms.TopicQueueBridge. For more information, see 
			 Accessing Samples. 
		   
		
-  
		  In 
			 Project Explorer expand the 
			 tibco.bw.sample.binding.soap.jms.TopicQueueBridge project. 
		   
		
-  
		  Set the default 
			 ApplicationProfile to match the OS you are running on. 
			 For more information, see 
				Setting the Default Application Profile. 
		   
		
-  
		  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. 
				 
			 
 
-  
		  Fully expand the 
			 Processes directory and double-click 
			 client.bwp. 
		   
		
-  
		  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 check box next to 
			 tibco.bw.sample.binding.soap.jms.TopicQueueBridge.application. 
		   
		
-  
		  Click 
			 Debug.
		   
		   This runs the sample in Debug mode.
		   
-  
		  Click the 
			 Terminate 
			  icon to stop the process. icon to stop the process.
Result
 
		 The Console shows the following response: 
		
Request Received. 
		Response received with value :0.5 
		
 
		The 
		  TopicQueueBridge.log output file at 
		  C:\tmp\TopicQueueBridge location shows that the message has been sent to the Topic and received from the Queue using SOAP over JMS. 
		
 
	 Understanding the Configuration
 
		 
		 The process sends a message to the Topic and is receives from the Queue using SOAP over JMS. 
		
 
		 This process executes as follows: 
		
 
		 
		  - Client sends a request. 
		  
- WS Service receives the request and calls the Service process. The Service process processes the data and returns the response. 
		  
Copyright © Cloud Software Group, Inc. All rights reserved.