modify msg-service to support dpm feature