Cannot Retrieve JMS Message Property From JMS Message in Oracle API Gateway. (Doc ID 2303588.1)

Last updated on SEPTEMBER 01, 2017

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.

Goal

When reading a JMS Message off a queue, I can not find any examples that work to extract a JMS property into a gateway attribute.

As an example, A JMS Consumer is setup to read a message on a queue, and populate jms.message. The policy used in the consumer for this example, call it “Read Q1 queue message”, will read the message and put it on a second queue. In this process, the message is placed onto a queue, and a few custom message properties are set at the same time.

How can those properties be read into an attribute after they are set in the policy?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms