Add possible callback for every message that is processed