tree: 4b2d3f13cb759d52ac2d66f4cff260f924604e84 [path history] [tgz]
  1. .settings/
  4. pom.xml
  5. src/

This is a Jersey specific extension to 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.