How To Condition A Result Based On JSON Data Returned From an End Service. (Doc ID 1684279.1)

Last updated on JULY 08, 2016

Applies to:

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

Goal

It is necessary to develop a policy routing flow based on an incoming message.
What is the way to do the content based routing and condition based routing in OAG?

For example, there may be two (maybe more) types of JSON message responses from a service.  It is necessary to adjust the message based on the JSON response from the end service.
Here is an example of two JOSN responses that can be returned from a service that OAG is calling.

JSOA Type-1

How can this type of scenario be set up in OAG?

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