Java Rehoming Process
The rehoming process includes multiple steps.
Follow these steps to rehome subscribers, groups, devices, and users.
- Start the rehoming process on the
source engine using one of the following APIs.
- MtxRequestSubscriberRehomePrepare
- MtxRequestGroupRehomePrepare
- MtxRequestDeviceRehomePrepare
- MtxRequestUserRehomePrepare
For example, call MtxRequestObjectRehomePrepare (where Object is Subscriber, Group, User, or Device) to do the following:- Collect all Object-related objects.
- Quarantine all objects.
Routing information associated with quarantined objects is removed from the routing cache.
- Return
Object information.
All Object information is returned in MtxResponseRehome.
- Create the Object on
the target engine. Call MtxRequestDatabaseRehome to do the following:
- Use the MtxResponseRehome
information from the source engine and create the objects on the
target engine. Note: When rehoming to the target sub-domain, the routing cache is updated to reflect the changes.
- Use the MtxResponseRehome
information from the source engine and create the objects on the
target engine.
- Clean up the information on the source
engine. Call MtxRequestDatabaseRehomeCommit to do the following:
- Delete the quarantined objects on the source engine.