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),
                    ImmutableMap.of("jobtest", (Object) "jobtest")).add();

While on consumer side we specify only job type

@Component(immediate = true)
        @Property(name = JobConsumer.JOB_TYPES, cardinality =
Integer.MAX_VALUE, value = {
@Service(value = JobConsumer.class)
public class AsyncJobConsumer implements JobConsumer

So whats the purpose of queue name here?

Chetan Mehrotra

Reply via email to