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

Consuming messages from a JMS queue

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.

Consuming messages from a JMS queue

Getting ready

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.

How to do it...

Let's create the proxy service to consume messages ...

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