IBM Integration Bus, Version 9.0.0.8 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Exporting a policy set and policy binding

Use the mqsireportproperties command to export a policy set and associated binding to a file.

This topic shows how to export policy set myPolicySet from broker myBroker to a file called myPolicySet.xml. The associated binding is myPolicySetBinding, which you export to myPolicySetBinding.xml.
  1. Export the policy set to a file:
    mqsireportproperties myBroker -c PolicySets -o myPolicySet -n ws-security -p myPolicySet.xml  
  2. Export the policy set binding to a file:
    mqsireportproperties myBroker -c PolicySetBindings -o myPolicySetBinding
       -n ws-security -p myPolicySetBinding.xml 
Make a note of the policy set that is associated to the binding; you will need this information when you import the policy set and binding. This command displays the policy set associated with a binding:
mqsireportproperties myBroker -c PolicySetBindings -o myPolicySetBinding -n associatedPolicySet
This displays:
PolicySetBindings   myPolicySetBinding     associatedPolicySet='myPolicySet'     
BIP8071I: Successful command completion.  
Note: To export a policy set with more than one policy, you must run the mqsireportproperties command once for each policy. For example, a policy set might contain a WS-Security policy and a WS-RM policy.

ac60360_.htm | Last updated Friday, 21 July 2017