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

Importing a policy set and policy set binding

Use the mqsichangeproperties command to import a policy set and associated binding.

This topic shows how to import policy set myPolicySet to broker myBroker from a file called myPolicySet.xml. The associated binding is myPolicySetBinding, which you import from myPolicySetBinding.xml.
  1. Create a configurable service for the policy set, if one does not already exist.
    mqsicreateconfigurableservice myBroker -c PolicySets -o myPolicySet
    BIP8071I: Successful command completion.  
  2. Create a configurable service for the policy set binding, if one does not already exist.
    mqsicreateconfigurableservice myBroker -c PolicySetBindings -o myPolicySetBinding  
    BIP8071I: Successful command completion.
  3. Import the policy set.
    mqsichangeproperties myBroker -c PolicySets -o myPolicySet -n ws-security -p myPolicySet.xml
  4. Import the policy set binding.
    mqsichangeproperties myBroker -c PolicySetBindings -o myPolicySetBinding
       -n ws-security -p myPolicySetBinding.xml 
  5. Change the value of the associatedPolicySet attribute. Set it to the name of the policy set with which this policy set binding was originally associated.
    mqsichangeproperties myBroker -c PolicySetBindings -o myPolicySetBinding
       -n associatedPolicySet -v myPolicySet
  6. You must stop and start the execution group for the changes of property values to take effect.
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 | ac60370_