-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Oracle Service Bus 11g Development Cookbook

In this recipe, we will show how to access the JMS Transport headers and properties in the message flow. This can be useful, for example, to decide for which different business services the message should be routed to.
We will implement a decision based on the JMS header JMSPriority and another decision based on the user-defined property myProperty.
For this recipe, we will use the queue SourceQueue from the OSB Cookbook standard environment.
Import the base OSB project containing the solution from the previous recipe into Eclipse from \chapter-3\getting-ready\accessing-jms-transport-headers-in-message-flow
.
In Eclipse OEPE, perform the following steps to add the two decisions to the message flow of the proxy service:
Open the proxy service JMSConsumer of the accessing-jms-transport-headers-in-message-flow.
Navigate to the Message Flow tab.
Right-click on the Log action and select Insert After | Flow Control...
Change the font size
Change margin width
Change background colour