Platform Explorer / Nuxeo Platform LTS 2015 7.10

Extension point queues

Defines the characteristics of work queues:

    <queue id="myqueue">
        <name>My Queue</name>
        <maxThreads>4</maxThreads>
        <capacity>100</capacity>
        <clearCompletedAfterSeconds>300</clearCompletedAfterSeconds>
        <category>somecategory1</category>
        <category>somecategory2</category>
    </queue>

- 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).

Contribution Descriptor

Existing Contributions

  • nuxeo-core-event-7.10-HF07.jar /OSGI-INF/workmanager-config.xml
    <extension point="queues" target="org.nuxeo.ecm.core.work.service">
        <queue id="default">
          <name>Default queue</name>
          <maxThreads>4</maxThreads>
          <!-- clear completed work instances older than 10 minutes -->
          <clearCompletedAfterSeconds>600</clearCompletedAfterSeconds>
        </queue>
        <queue id="fulltextUpdater">
          <name>Fulltext updater queue</name>
          <!-- fulltext updates are single-threaded to avoid concurrent
            writes to the same column -->
          <maxThreads>1</maxThreads>
          <category>fulltextUpdater</category>
          <!-- clear completed work quickly as it contains (potentially large)
            text data -->
          <clearCompletedAfterSeconds>300</clearCompletedAfterSeconds>
        </queue>
      </extension>
  • nuxeo-admin-center-7.10-HF07.jar /OSGI-INF/workmanager-contrib.xml
    <extension point="queues" target="org.nuxeo.ecm.core.work.service">
        <queue id="permissionsPurge">
          <maxThreads>1</maxThreads>
          <category>permissionsPurge</category>
        </queue>
      </extension>
  • nuxeo-routing-core-7.10-HF07.jar /OSGI-INF/document-routing-escalation-work-contrib.xml
    <extension point="queues" target="org.nuxeo.ecm.core.work.service">
        <queue id="escalation">
          <category>routingEscalation</category>
          <name>escalation</name>
        </queue>
      </extension>
  • nuxeo-csv-7.10-HF04.jar /OSGI-INF/csv-workmanager-contrib.xml
    <extension point="queues" target="org.nuxeo.ecm.core.work.service">
        <queue id="csvImporter">
          <maxThreads>1</maxThreads>
          <category>csvImporter</category>
        </queue>
      </extension>
  • nuxeo-elasticsearch-core-7.10-HF06.jar /OSGI-INF/workmanager-contrib.xml
    <extension point="queues" target="org.nuxeo.ecm.core.work.service">
        <queue id="elasticSearchIndexing">
          <name>ElasticSearch Indexing</name>
          <maxThreads>4</maxThreads>
          <!-- <usePriority>true</usePriority> -->
          <category>elasticSearchIndexing</category>
          <clearCompletedAfterSeconds>90</clearCompletedAfterSeconds>
        </queue>
      </extension>
  • nuxeo-platform-audit-core-7.10-HF01.jar /OSGI-INF/nxaudit-work-config.xml
    <extension point="queues" target="org.nuxeo.ecm.core.work.service">
        <queue id="audit">
          <name>Audit queue</name>
          <maxThreads>1</maxThreads>
          <category>auditLoggerListener</category>
          <!-- clear completed work instances older than 5 min -->
          <clearCompletedAfterSeconds>300</clearCompletedAfterSeconds>
        </queue>
      </extension>
  • nuxeo-platform-imaging-core-7.10-HF06.jar /OSGI-INF/picture-workmanager-contrib.xml
    <extension point="queues" target="org.nuxeo.ecm.core.work.service">
        <queue id="pictureViewsGeneration">
          <maxThreads>1</maxThreads>
          <category>pictureViewsGeneration</category>
        </queue>
      </extension>
  • nuxeo-core-7.10-HF07.jar /OSGI-INF/scheduler-contrib.xml
    <extension point="queues" target="org.nuxeo.ecm.core.work.service">
        <queue id="updateACEStatus">
          <maxThreads>1</maxThreads>
          <category>updateACEStatus</category>
        </queue>
      </extension>
  • nuxeo-platform-collections-core-7.10-HF03.jar /OSGI-INF/collection-workmanager-contrib.xml
    <extension point="queues" target="org.nuxeo.ecm.core.work.service">
        <queue id="collections">
          <maxThreads>1</maxThreads>
          <category>duplicateCollectionMember</category>
          <category>removedCollectionMember</category>
          <category>removedCollection</category>
          <category>removeFromCollection</category>
        </queue>
      </extension>
  • nuxeo-platform-video-core-7.10.jar /OSGI-INF/video-workmanager-config.xml
    <extension point="queues" target="org.nuxeo.ecm.core.work.service">
        <queue id="videoConversion">
          <maxThreads>1</maxThreads>
          <category>videoConversion</category>
        </queue>
      </extension>