A new response code, 850 OK_MSMQ_SWITCH, indicates that a SwitchTo has been performed by the host system.
The following are three new methods on the ApplicationState object to allow the retrieval of the SwitchTo details:
getMQSwitchApplication()
Returns the application name of the system being switched to. This is the data entered as the 'system' in the SwitchTo command.
getMQSwitchQueue()
Returns the 'queue name' of the system being switched to. This is the data entered as the Partition clause in the SwitchTo command.
getMQSwitchData()
Returns the data being passed to the new system. This is the data entered as the Data clause in the SwitchTo command.
Clients might only need to know the system name, from which they can use local values for the queue and any data for the new system. This would alleviate the need to recode the SwitchTo command in your Agile Business Suite System.