You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2014/06/16 16:42:02 UTC
[jira] [Updated] (SLING-3672) Sling Jobs based queue looks always
empty
[ https://issues.apache.org/jira/browse/SLING-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tommaso Teofili updated SLING-3672:
-----------------------------------
Description:
When using Sling Event 3.3.10 calling {code}Map<String,Object> props = new HashMap<String,Object>();
Collection<Job> jobs = jobManager.findJobs(QueryType.QUEUED, topic, -1,
props);{code} returns no jobs even if there are, therefore queues using Sling Jobs always look empty as this code is used in ReplicationQueue#getHead.
was:
Calling {code}Map<String,Object> props = new HashMap<String,Object>();
Collection<Job> jobs = jobManager.findJobs(QueryType.QUEUED, topic, -1,
props);{code} returns no jobs even if there are, therefore queues using Sling Jobs always look empty as this code is used in ReplicationQueue#getHead.
> Sling Jobs based queue looks always empty
> -----------------------------------------
>
> Key: SLING-3672
> URL: https://issues.apache.org/jira/browse/SLING-3672
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Reporter: Tommaso Teofili
> Assignee: Tommaso Teofili
> Labels: replication
>
> When using Sling Event 3.3.10 calling {code}Map<String,Object> props = new HashMap<String,Object>();
> Collection<Job> jobs = jobManager.findJobs(QueryType.QUEUED, topic, -1,
> props);{code} returns no jobs even if there are, therefore queues using Sling Jobs always look empty as this code is used in ReplicationQueue#getHead.
--
This message was sent by Atlassian JIRA
(v6.2#6252)