My Oracle Support Banner

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

Last updated on OCTOBER 07, 2022

Applies to:

Oracle API Gateway - Version 11.1.2.1.0 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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.