top of page

Working with JMS Transport Header in Runtime OSB

In this exercise, we will generate a proxy service using which we will update a few Transport Headers during runtime. We will use the previous exercise as the starting point. Here is the link

 

1. Login to sbconsole and create a session. 

2. Goto the Project write_jms > Create a folder named ProxyService. 

3. Now Create Resource > ProxyService. 

4. In General Configuration > Choose "Create from Business Service"  and choose the business service that we created from the previous exercise. 

5. Also name the Proxy Service as psRequestor.

6. On the Message Type Configuration step, choose Text as Request Message type and None as the Response Message Type. 

 

7. Goto the last step. Now let us work on the message flow of the proxy service to update the Transport Header. 

8. On the Request Action, click Add an Action > Communication > Transport Headers. 

9. Click on Add Header. Select JMSPriority from the Name and set the value to 9. 

10. Now add another Header, this time create a custom Property and assign any value. Save All and activate the session. 

I created a property named customJMSProperty1 and set its value as "CustomProp". Also set the JMSPriority to 9. 

11. Activate the session and test the Proxy Service with a dummy Message. 

bottom of page