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

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 integration server for the changes of property values to take effect.

ac60370_.htm | Last updated Friday, 21 July 2017