cziegeler commented on code in PR #41:
URL: 
https://github.com/apache/sling-org-apache-sling-event/pull/41#discussion_r2041987025


##########
src/main/java/org/apache/sling/event/impl/jobs/JobManagerImpl.java:
##########
@@ -130,6 +132,12 @@ public class JobManagerImpl
     @Reference
     private QueueManager qManager;
 
+    @Reference(
+        cardinality = ReferenceCardinality.OPTIONAL,
+        policy = ReferencePolicy.DYNAMIC
+    )
+    private volatile Condition condition;
+

Review Comment:
   I think it is best to specify the "true" condition by default with
   target="(osgi.condition.id=true)"



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to