Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8853

Develop an Active variant of ResourceQueue and make it available as possible queue.provider for ForwardDistributionAgentFactory

    XMLWordPrintableJSON

Details

    Description

      Via SLING-7754, a JCR Resource-backed queue [0] implementation was developed for usecases where a queue processor wasn't required, ResourceQueue implementation is currently PASSIVE.

      Given above, it is not possible to leverage ResourceQueue as a queue.provider for DistributionAgents created via ForwardDistributionAgentFactory [1].
      This issue aims to add an "Active" variant of Resource backed queues and provide it as an option for ForwardDistributionAgentFactory.

      [0] https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/main/java/org/apache/sling/distribution/queue/impl/resource/ResourceQueue.java
      [1] https://github.com/apache/sling-org-apache-sling-distribution-core/blob/deb3d2ae33c4f4678c8503091a9fffdbb141e569/src/main/java/org/apache/sling/distribution/agent/impl/ForwardDistributionAgentFactory.java#L171-L178

      Attachments

        Issue Links

          Activity

            People

              marett Timothee Maret
              ashishc Ashish Chopra
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m