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

Use ConfigAdmin configurations for queues

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Event 2.4.0
    • Event 3.0.0
    • Extensions
    • None

    Description

      Currently the jobs send to the job handler might contain queue configuration information, like a queue name, parallel settings etc. These props are used to create queues. This approach has a least two potential problems:

      • What happens if two jobs specify the same queue name with different settings?
      • The developer creating the code to send the job might not be the person deciding what is processed in which queue and how

      Therefore it would make more sense to have a queue as a configuration in the ConfigAdmin . this would make maintenance easier and allows to have a single place for queue configurations. Of course the old props should still be supported for compatibility.

      The configurations can then be easily added, viewed and monitored through the web console.

      The main queue is a configuration which is always available

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: