Use the 1.5 SNAPSHOT batch event framework