tree: c08c717fed34e341798cc518bfd7d66b30eee33a [path history] [tgz]
  1. .settings/
  2. src/
  3. .classpath
  4. .project
  5. pom.xml
  6. README.md
org.eclipse.scout.rt.rest.jersey.client/README.md

org.eclipse.scout.rt.rest.jersey.client

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.