Author: cziegeler
Date: Tue Jul 16 14:40:18 2013
New Revision: 1503735

URL: http://svn.apache.org/r1503735
Log:
Add resource path to returned job

Modified:
    
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/JobManagerImpl.java

Modified: 
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/JobManagerImpl.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/JobManagerImpl.java?rev=1503735&r1=1503734&r2=1503735&view=diff
==============================================================================
--- 
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/JobManagerImpl.java
 (original)
+++ 
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/JobManagerImpl.java
 Tue Jul 16 14:40:18 2013
@@ -1282,8 +1282,9 @@ public class JobManagerImpl
                 path,
                 properties);
 
-        // update property types - priority and create job
+        // update property types - priority, add path and create job
         properties.put(Job.PROPERTY_JOB_PRIORITY, 
info.queueConfiguration.getPriority());
+        properties.put(JobImpl.PROPERTY_RESOURCE_PATH, path);
         return new JobImpl(jobTopic, jobName, jobId, properties);
     }
 


Reply via email to