Reputation: 1
For OSB 11G,I have to manage 2 endpoints(let it be URL1 and URL2) to support 24x7 availability(where URL1 works from 8.00 hrs till 20.00 hrs and URL2 works from 20.00 hrs to 8.00hrs).
I have handled this in business service under transport configuration :
1) create 2 endpoints (URL1 and URL2)
2) set retry count to 1
This worked okay but when switch happens from URL1 to URL2 and vice versa OSB-client(s) experiences delay, is there any way by which we can make URL1 offline from 20.00 hrs to 8.00 hrs and OSB do not try to attempt to hit URL1 for that duration?
Upvotes: 0
Views: 188
Reputation: 732
I think you might need to mark the inactive URI "offline" - as with your current setup, you rely on the retry count which makes the OSB first access the inactive endpoint and then fail over to the active one. See: https://docs.oracle.com/middleware/1221/osb/administer/GUID-C49400DC-26DD-4175-972A-19DCAE5BCDD0.htm#OSBAG605
You might be able to find a way to do this using a WLST script and schedule it to run at appropriate times automatically
Upvotes: 0