refactored handling of invalid messages that are not supported by the
MessageProcessor