Use the mqsicreateconfigurableservice command to migrate configurable services to policies.
The mqsicreateconfigurableservice command is deprecated in App Connect Enterprise and is provided as a migration aid, so that any use of the command in your IBM Integration Bus scripts continues to work App Connect Enterprise (to create a policy).
For more information about supplied policies, and their properties and values, see Policy properties. The policy properties information gives the names of policies and properties as displayed in the IBM App Connect Enterprise Toolkit. Those display names are expanded forms of the short names used in the mqsicreateconfigurableservice command; for example: an FTP Server policy (FtpServer) has the policy shortname FtpServer and has the property Connection type with the shortname connectionType. The shortnames and values for use with commands are defined by the schema ace_install\common\schemas\Policy\Policy.xsd, with display names and UI help defined by the schema in ace_install\common\schemas\Policy\PolicyUI.xsd.
Some parameters have alternative long names; for example: -p and --admin-port are alternative parameter names of the port number for the administration REST API. The long names available are listed in the Parameters section.
>>-mqsicreateconfigurableservice--integrationNodeName-----------> >-- -c --policy-type-- -o--policy-name--------------------------> >--+---------------------------------------------------+------->< | .-,------------. | | V | | '- -n----PropertyName-+--+------------------------+-' | .-,-------------. | | V | | '- -v----PropertyValue-+-'
Use the mqsireportproperties command to view the list of valid values.
The valid policy types are listed under Policy properties.
The policy name can include alphanumeric characters and the underscore character. The name cannot include spaces and must start with a letter.
If the property value contains a comma, enclose the value with escaped double quotation marks (\" and \"); for example, -n Name1,Name2 -v Value1,\"Value21,Value22\".
mqsicreateconfigurableservice INODE -c JDBCProviders -o DB2EXTRA -n connectionUrlFormat
-v "jdbc:db2://[serverName]:[portNumber]/[databaseName]:user=[user];password=[password];"
mqsicreateconfigurableservice INODE -c Aggregation -o myAggregationService
-n queuePrefix,timeoutSeconds -v SET1,60
mqsicreateconfigurableservice INODE -c CICSConnection -o myCICSConnectionService
-n cicsServer,clientApplid,clientQualifier,connectionTimeoutSecs,
requestTimeoutSecs -v tcp://test.cics.ibm.com:12345,BRKApp,BRKQual,10,5
mqsicreateconfigurableservice INODE -c Collector -o myCollectorService
-n queuePrefix,collectionExpirySeconds -v SET1,60