I was looking at the Sling JMS based Job SLING-5645 and trying to
understand the api flow.
Sender side submits a job for a given queue and job type
------
Job job = jobManager.newJobBuilder(Types.jobQueue(TOPIC),
Types.jobType(AsyncJobConsumer.JOB_TYPE)).addProperties(
ImmutableMap.of("jobtest", (Object) "jobtest")).add();
------
While on consumer side we specify only job type
-------
@Component(immediate = true)
@Properties({
@Property(name = JobConsumer.JOB_TYPES, cardinality =
Integer.MAX_VALUE, value = {
AsyncJobConsumer.JOB_TYPE
})
})
@Service(value = JobConsumer.class)
public class AsyncJobConsumer implements JobConsumer
-------
So whats the purpose of queue name here?
Chetan Mehrotra