Enabling JMS message persistence

When we send messages to a JMS queue, the Message Delivery Mode option controls if a message is guaranteed to be delivered once, and if it is safely stored in the persistent store of the JMS server. There is also a non persistent option, where the messages are stored in memory and may be lost in case of a WebLogic or JMS server failure, or when the WebLogic server is rebooted.

In this recipe, we will set the delivery mode option on a JMS message with the OSB Transport Header action.

Getting ready

For this recipe, we will use a simple OSB project with one proxy and one business service:

Getting ready

You can import the OSB project ...

Get Oracle Service Bus 11g Development Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.