[ 
https://issues.apache.org/jira/browse/SLING-8743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971403#comment-16971403
 ] 

Ashish Chopra commented on SLING-8743:
--------------------------------------

(responding on behalf of [~mohiaror] who's currently not available)

bq. does your use case require the DistributionQueueProcessor to be exposed?
I'd believe yes - because per my understanding _currently_ 
{{DistributionQueueProvider}} needs {{DistributionQueueProcessor}} [0], 
unless...
bq. makes sense to expose a cleaned up version of ... 
{{DistributionQueueProvider}}
...that cleanup itself erases the {{DistributionQueueProcessor}} from 
{{DistributionQueueProvider}} SPI and accepts something else (perhaps a 
{{Runnable}}/{{Callable}}?) in its stead.

[0] 
https://github.com/apache/sling-org-apache-sling-distribution-core/blob/af3140fc5641c6c3eeee94b1bbc4dbd4013965e6/src/main/java/org/apache/sling/distribution/queue/impl/DistributionQueueProvider.java#L56

> Move DistributionQueueBuilderFactory class from impl to api surface
> -------------------------------------------------------------------
>
>                 Key: SLING-8743
>                 URL: https://issues.apache.org/jira/browse/SLING-8743
>             Project: Sling
>          Issue Type: Task
>          Components: Content Distribution
>            Reporter: Mohit Arora
>            Priority: Major
>
> Currently, it is not possible to create an instance of DistributionQueue 
> using DitributionQueueBuilderFactory as the factory is inside an impl package 
> [0]. This should be exposed as an API so that consumers can get a reference 
> of it.
>  
> [0][https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/main/java/org/apache/sling/distribution/queue/impl/DistributionQueueProviderFactory.java]



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

Reply via email to