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:
You can import the OSB project ...
Get Oracle Service Bus 11g Development Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.