Add configuration for messageModel and consumeFromWhere.