add RegisterMessageContextType support dynamic register messagecontext type