return new A(); } } public class Job1Task implements Task<A, B> { public B processTask(A a) throws Exception { return convertAtoB(a); } } public class Job1OutputConsumer implements OutputConsumer<B>{ public void consumeOutput(B b, int counter) { logger.debug("Consuming >> "+b); } } Usage Guide – Job (Code)