Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Oracle Service Bus 11g Development Cookbook

You're reading from  Oracle Service Bus 11g Development Cookbook

Product type Book
Published in Jan 2012
Publisher Packt
ISBN-13 9781849684446
Pages 522 pages
Edition 1st Edition
Languages

Table of Contents (19) Chapters

Oracle Service Bus 11g Development Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Creating a basic OSB service Working Efficiently with OSB Artifacts in Eclipse OEPE Messaging with JMS Transport Using EJB and JEJB transport Using HTTP Transport Using File and Email Transports Communicating with the Database Communicating with SOA Suite Communication, Flow Control, and Message Processing Reliable Communication with the OSB Handling Message-level Security Requirements Handling Transport-level Security Requirements Index

Accessing JMS Transport headers and properties in message flow


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.

Getting ready

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.

How to do it...

In Eclipse OEPE, perform the following steps to add the two decisions to the message flow of the proxy service:

  1. Open the proxy service JMSConsumer of the accessing-jms-transport-headers-in-message-flow.

  2. Navigate to the Message Flow tab.

  3. Right-click on the Log action and select Insert After | Flow Control...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}