MULE-7108: Need to decouple Pipeline interface from MessageProcessorPath generation

fix instance check in order to have async notifications work with batch