Platform Explorer / Nuxeo Platform 8.1



The WorkManager executes Work instances asynchronously.



Extension Points


XML Source

<?xml version="1.0"?>
<component name="" version="1.0">

    The WorkManager executes Work instances asynchronously.

    <provide interface="" />

  <implementation class="" />

  <extension-point name="queues">
      Defines the characteristics of work queues:
        <queue id="myqueue">
          <name>My Queue</name>
      - id is the queue id.

      - name is the human-readable name.

      - maxThreads maximum number of worker threads (default 4).

      - capacity when specified make the queue bounded, the scheduling of
      new work is blocking when the queue is full (default unlimited).

      - clearCompletedAfterSeconds (default 3600) is the delay after which completed work
       may be automatically cleared from its queue. 0 means never.

      - category is a list of Work categories that this queue will receive.
      For event listeners work, the category is the listener name (or its simple class name).

    <object class="" />

  <extension-point name="implementation">
      Defines the implementation of the queuing mechanism:
        <queuing class="org.nuxeo.ecm.core.redis.contribs.RedisWorkQueuing"/>
      The class must be a subclass of

    <object class="" />

  <extension target="org.nuxeo.runtime.EventService" point="listeners">
    <listener class="">