tree: ab159af49ee603bf53a712849fea677c209e60a0 [path history] [tgz]
  1. .classpath
  2. .project
  3. .settings/
  4. README.md
  5. org.eclipse.scout.rt.rest.jersey.client.iml
  6. pom.xml
  7. src/
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.