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

Oracle Service Bus 11g Development Cookbook

A message in a queue can only be consumed by a single consumer. To consume a message on the OSB, a proxy service with the JMS Transport needs to be setup.
In this recipe, we will show how to implement a proxy service as a message consumer for the queue. The proxy service will act as a listener on the JMS queue and will get active as soon as a message can be consumed from the queue.
For this recipe, we need one queue from the OSB Cookbook standard environment and will then implement the proxy service to dequeue the messages from the queue.
Let's create the proxy service to consume messages from the SourceQueue. In Eclipse OEPE, perform the following steps:
Create a new OSB project consuming-from-jms-queue
and create a proxy
folder within it.
Create a new proxy service and name it JMSConsumer
.
Navigate to the General tab.
Set the Service Type option to Messaging Service.
Navigate to the Messaging tab
Set the Request Message Type option...
Change the font size
Change margin width
Change background colour