[
https://issues.apache.org/jira/browse/SLING-4292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marius Petria resolved SLING-4292.
----------------------------------
Resolution: Fixed
Fix Version/s: Content Distribution 0.1.0
> 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)