Pass processor to consumer in constructor