O'Reilly logo

Oracle Service Bus 11g Development Cookbook by Eric Elzinga, Mischa Kölliker, Jan van Zoggel, Edwin Biemond, Guido Schmutz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Changing JMS Transport message headers and properties at runtime

When sending a message to JMS queue or topic through a business service, default values for several JMS Transport message headers are used. The message headers as well as the message properties can be overwritten by using a Transport Header action in a proxy service when routing to the business service.

We will use it to both define the priority of the message by setting the JMSPriority header and to pass a user-defined property myProperty with the value red.

Getting ready

For this recipe, we will use the solution of the recipe Sending a message to a JMS queue and extend it with a simple pass-through proxy service and then add a Transport Header action.

You can import the base OSB project ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required