Before you migrate the User Name Server, migrate the tooling, the Configuration Manager, and the broker.
When you have migrated all of your components, migrate your message flows and message sets.