Oracle service bus: Work manager and Throttling
Hi
Flow is PS_C--->BS_A (based on PS_A)
I created a http protocol based proxy service PS_A and a business service based on PS_A, i.e. BS_A.
Now this BS_A is deployed on four different managed servers. I have implemented failover so at a time copy of only one of the managed severs will be accessed by multiple external clients through PS_C. To say all will hit Managed server-1 copy of BS_A. If Managed server-1 is down then it will hit Managed server-2 copies of BS_A.
I have created a workmanager named "CustomWorkManager" which has MaxThreadConstraint=1. PS_A has not enabled CustomWorkManager. i.e. PS_A works under default policy.
My goal is to process only one request at one time through BS_A.
In business service, BS_A I can see work manager and throttling options.
My question is this:
Scenario I: I make throttling enabled and set maximum concurrency=1 for BS_A
Scenario II: I apply CustomWorkManager to BS_A
Scenario III: I do both Scenario I and Scenario II
What is the difference between I, II and III?
Fundamentally, what is the difference between throttling with maxConcurrency=1 and MaxThreadConstraint of workmanager=1 for a http business service?
Thanks and Regards,
Swapnil Kharwadkar