Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Patch Available
Description
Often times it's required to set/configure a different workmanager on invocation chain other than the default one which is
configured per Tuscany runtime. This feature is useful for extension frameworks to be able to set a desired workmanager
on an invocation chain if needed.
A simple setter in NonBlockingInterceptor will provide a solution for this issue. Using this setter, extension frameworks can
set desired workmanager on InvocationChain during post wire processing.
/**
- Sets desired workScheduler to NonBlockingInterceptor. This is a usefull function for the extension framework
- to set desired workmanager on the InvocationChain, other than default workmanager which is set per Tuscany runtime.
- Using this function, extension framework can set desired workmanager on InvocationChain during post wire processing.
- @param workScheduler workScheduler which contains workmanager
*/
public void setWorkScheduler(WorkScheduler workScheduler) { this.workScheduler = workScheduler; }