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

Expose agent queue items as Sling Resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      We should expose the queue items as resources to be available to servlets.

      /agents/publish/queues - list all queues
      /agents/publish/queues/queuename - lists queue status (no of items)
      /agents/publish/queues/queuename/itemID - lists item ID
      

      Iterating through children should be lazy, do not load all items into memory but only as needed.

      resourceResolver.getResource("/agents/publish/queues/queuename").listChildren() 
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mpetria Marius Petria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: