Incorrect Message Format Sending Messages To RabbitMQ from OAG (Doc ID 2111623.1)

Last updated on FEBRUARY 29, 2016

Applies to:

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

Goal

After creating a policy and listener in OAG that takes the content of a file in specific path and sends it to a JMS Service.
The JMS service sends it to RabbitMQ queue.

The RabbitMQ side receives the message in a base64Binary format and not as a String as was expected.

The configuration is :
Listener – directory discovery that scan files on a path.
Policy - copy or modify attribute (${content.body} >> content.body)
Send to jms service (create message from attribute below >> content.body).

How can the message format be changed to be sent as a String instead of base64Binary?
 

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