Universal Messaging 10.5 | Migrating webMethods Broker to Software AG Universal Messaging Documentation | Migrating from webMethods Broker to Universal Messaging Guide | Migrating from Broker to Universal Messaging | Territories and Gateways Migration | Gateway Migration | Running the Gateway Configuration Migration Script | Use the brokergatewaymigration Script with a Properties File
 
Use the brokergatewaymigration Script with a Properties File
Use a properties file to pass migration parameters to brokergatewaymigration.
1. Open a Command Prompt window and navigate to Universal Messaging_directory /tools/migrate directory.
2. Type brokergatewaymigration.bat -f "path to the properties file"
The properties files should contain migration parameters in the following format:
host="Broker host and port"
broker="Broker name"
source="Source territory or cluster"
remote="Remote territory or cluster"
targeturl1="Universal Messaging URL that contains the source
channel/topic for the join
"
targeturl2="Universal Messaging URL that contains the target
channel/topic for the join
"
Example
Parameters in a properties file
host="brokerhost:6849"
broker="Broker #1"
source="territorysource"
remote="territoryremote"
targeturl1="nsp://localhost:1001"
targeturl2="nsp://localhost:1002"
Command line
brokergatewaymigration.bat -f "C:\MigrationProperties\gateway\input.properties"