Quantcast
Channel: iPaaS@ORACLE.CLOUD
Viewing all articles
Browse latest Browse all 872

#470 ICS --> Content Based Routing

$
0
0
Simple scenario here.

ICS gets a request to retrieve customer details from on-prem DB.
Customer is classed as either domestic or foreign.
Requests for domestic customer details have to be routed to the domestic customer DB.
Requests for foreign customer details have to be routed to the foreign customer DB.

The custId of domestic customers always begins with 1.
The custId of foreign customers never begins with 1.

So you get the idea?

I have 2 DB tables -













These are essentially my 2 databases.

My integration looks as follows -














You see the icons representing the routing?
Here they are -






You can make out some of the routing condition I entered?
I use the string function starts-with

Here I check if the incoming custId starts with 1.
If so, I route to the "domestic DB".

Otherwise the request goes to the "foreign DB".

Here you see the icon to configure routing.













Here is the filter condition -
















Once this node is selected in the upper routing pane, we configure/edit the Target.















Select the other node and you can do the same.


Viewing all articles
Browse latest Browse all 872

Trending Articles