Run the brokergatewaymigration Script
1. Ensure that the operators present in your shared document type filters are intercompatible with Broker and Universal Messaging. The following table lists the operators that are migrated automatically by the script. You need to manually replace the operators that are not mentioned in the table.
Operator | Broker filter | Universal Messaging filter |
Equal to | =,== | = |
Not equal to | != | <> |
Logical negation | !, not | NOT |
Logical AND | &&, and | AND |
Logical OR | ||, or | OR |
2. On the machine that hosts the target Universal Messaging server, go to the Universal Messaging_directory/tools/migrate directory, and run the brokergatewaymigration script.
3. The script prompts: Enter Broker Host and Port
Enter the Broker host name and port in the format: broker host:broker port . For example, brokerhost:6849.
4. The script prompts: Enter the source Broker Name
Enter the name of the source Broker in the format:broker name. For example, broker #1.
5. The script prompts: Enter Source Territory/Cluster
Enter the name of the source territory in the format: sourceterritory.
6. The script prompts: Enter Remote Territory/Cluster
Enter the name of the remote territory in the format: remoteterritory.
7. The script prompts: Enter the Universal Messaging URL that contains the source channel/topic for the join
Enter the Universal Messaging URL that contains the channel or topic from which you want to create a join. For example, nsp://umserverhost:9000.
8. The scripts prompts: Enter the Universal Messaging URL that contains the target channel/topic for the join
Enter the Universal Messaging URL that contains the channel or topic to which you want to create a join. For example, nsp://umserverhost:9001.
The Broker gateway migration script will run and display the results of the migration.
Example
C:\SoftwareAG\UniversalMessaging\tools\migrate>brokergatewaymigration.bat
Enter Broker Host and Port
brokerhost:6849
Enter source Broker Name [For example, Broker #1]
broker1
Enter Source Territory/Cluster
territory1
Enter Remote Territory/Cluster
terriotry2
Enter the Universal Messaging URL that contains the source
channel/topic for the join [For example, nsp://umserverhost:9000]
nsp://localhost:1001
Enter the Universal Messaging URL that contains the target
channel/topic for the join
nsp://localhost:1002