use of com.swiftmq.swiftlet.scheduler.JobFactory in project swiftmq-ce by iitsoftware.
the class JobRegistrar method register.
public void register() {
if (ctx.traceSpace.enabled)
ctx.traceSpace.trace(ctx.queueManager.getName(), toString() + "/register ...");
jobGroup = ctx.schedulerSwiftlet.getJobGroup("Queue Manager");
JobFactory jf = new QueuePurgerJobFactory(ctx);
jobGroup.addJobFactory(jf.getName(), jf);
jf = new MultiQueuePurgerJobFactory(ctx);
jobGroup.addJobFactory(jf.getName(), jf);
jf = new QueueMoverJobFactory(ctx);
jobGroup.addJobFactory(jf.getName(), jf);
jf = new QueueCleanupJobFactory(ctx);
jobGroup.addJobFactory(jf.getName(), jf);
jf = new QueueCleanupDLQJobFactory(ctx);
jobGroup.addJobFactory(jf.getName(), jf);
jf = new QueueResetJobFactory(ctx);
jobGroup.addJobFactory(jf.getName(), jf);
if (ctx.traceSpace.enabled)
ctx.traceSpace.trace(ctx.queueManager.getName(), toString() + "/register done");
}
Aggregations