You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ashish Chopra (Jira)" <ji...@apache.org> on 2019/11/21 09:33:00 UTC

[jira] [Created] (SLING-8853) Develop an Active variant of ResourceQueue and make it available as possible queue.provider for ForwardDistributionAgentFactory

Ashish Chopra created SLING-8853:
------------------------------------

             Summary: Develop an Active variant of ResourceQueue and make it available as possible queue.provider for ForwardDistributionAgentFactory
                 Key: SLING-8853
                 URL: https://issues.apache.org/jira/browse/SLING-8853
             Project: Sling
          Issue Type: Improvement
          Components: Content Distribution
            Reporter: Ashish Chopra
             Fix For: Content Distribution Core 0.4.2


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)