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.
- Create a configurable service for the policy set, if one
does not already exist.
mqsicreateconfigurableservice myBroker -c PolicySets -o myPolicySet
BIP8071I: Successful command completion.
- 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.
- Import the policy set.
mqsichangeproperties myBroker -c PolicySets -o myPolicySet -n ws-security -p myPolicySet.xml
- Import the policy set binding.
mqsichangeproperties myBroker -c PolicySetBindings -o myPolicySetBinding
-n ws-security -p myPolicySetBinding.xml
- 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
- You must stop and start the integration
server for the changes of property values to take effect.