This is a Jersey specific extension to org.eclipse.scout.rt.rest that provides an IGlobalRestClientConfigurator
which registers a custom ExecutorServiceProvider
for a Jersey REST Client
.
By default, Jersey creates a new unbounded java.util.concurrent.ExecutorService
to submit tasks for asynchronous REST calls (see DefaultClientAsyncExecutorProvider). When running jobs in a Scout platform, the JobManager uses a single ExecutorService
instance that can be easily configured using system properties. By including this module in the dependencies of your project, all asynchronous REST calls made via an IRestClientHelper
bean will be submitted to the same executor service.