You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Marius Petria (JIRA)" <ji...@apache.org> on 2015/01/16 09:04:34 UTC

[jira] [Commented] (SLING-4292) Expose agent queue items as Sling Resources

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

Marius Petria commented on SLING-4292:
--------------------------------------

Committed revision 1652356.


> Expose agent queue items as Sling Resources
> -------------------------------------------
>
>                 Key: SLING-4292
>                 URL: https://issues.apache.org/jira/browse/SLING-4292
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Marius Petria
>             Fix For: Content Distribution 0.1.0
>
>
> We should expose the queue items as resources to be available to servlets.
> {code}
> /agents/publish/queues - list all queues
> /agents/publish/queues/queuename - lists queue status (no of items)
> /agents/publish/queues/queuename/itemID - lists item ID
> {code}
> Iterating through children should be lazy, do not load all items into memory but only as needed.
> {code}
> resourceResolver.getResource("/agents/publish/queues/queuename").listChildren() 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)