Maybe using a guard for null || empty messageProcessors will make the code more readable