WebSphere Message Broker, Version 8.0.0.7 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.
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:46:27


Task topicTask topic | Version 8.0.0.7 | ac60360_