Hi all,

while working with Sling replication I found a strange behavior, probably
changed recently (as I didn't have it before), where calling:

Collection<Job> jobs = jobManager.findJobs(QueryType.QUEUED, topic, -1);

returns me all the queued jobs, while calling:

Map<String,Object> props = new HashMap<String,Object>();
Collection<Job> jobs = jobManager.findJobs(QueryType.QUEUED, topic, -1,
props);

returns an empty collection.

I don't think that's expected (a void template should work as no template
given) and also it's a different behavior between 3.3.0 (my "provided"
version) and 3.3.10 (my actual version).
Am I missing something?

Regards,
Tommaso

Reply via email to