This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch clarify-job-queue-ranking
in repository https://gitbox.apache.org/repos/asf/sling-site.git

commit 1fa546c8aef3e7c8decc8c444b9a76aeb402b891
Author: Konrad Windszus <[email protected]>
AuthorDate: Thu Feb 29 17:02:37 2024 +0100

    Clarify queue ranking
    
    Make clear that the highest rank wins
---
 .../documentation/bundles/apache-sling-eventing-and-job-handling.md    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/src/main/jbake/content/documentation/bundles/apache-sling-eventing-and-job-handling.md
 
b/src/main/jbake/content/documentation/bundles/apache-sling-eventing-and-job-handling.md
index ca7d2b686..9b21a15a9 100644
--- 
a/src/main/jbake/content/documentation/bundles/apache-sling-eventing-and-job-handling.md
+++ 
b/src/main/jbake/content/documentation/bundles/apache-sling-eventing-and-job-handling.md
@@ -197,7 +197,8 @@ A queue configuration can have the following properties:
 | `queue.priority` | The thread priority: NORM, MIN, or MAX |
 | `service.ranking` | A ranking for this configuration.|
 
-The configurations are processed in order of their service ranking. The first 
matching queue configuration is used for the job.
+The configurations are processed in descending order of their service ranking 
(same as in 
[`BundleContext.getServiceReference(...)`](https://docs.osgi.org/javadoc/osgi.core/7.0.0/org/osgi/framework/BundleContext.html#getServiceReference-java.lang.Class-).
 In case of a tie in the service ranking the config which was registered 
earlier is processed before the config which was registered later.
+The first matching queue configuration is used for the job.
 
 #### Ordered Queues
 

Reply via email to