anchor.diff:          cd('JMSSystemResource/UMSJMSSystemResource')
           create('UMSJMSSubDMSOA', 'SubDeployment')
   
  -        umsJMSServerStr = getUMSJMSServers(SOAClusterName)
  +        umsJMSServerStr = getUMSJMSServers(SOAClusterName, Admin)
           umsJMSServerStr = umsJMSServerStr.strip().lstrip().rstrip()
           assign('JMSSystemResource.SubDeployment', 'UMSJMSSystemResource.UMSJMSSubDMSOA', 'Target', umsJMSServerStr)
   
           print ("*** Creating Queues for UMS ***")
           cd('/')
  -        cd('JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
           print ' '
   
  -        udd=create('OraSDPMEngineSndQ1_soa','UniformDistributedQueue')
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
  +        udd= create('OraSDPMEngineSndQ1_soa','UniformDistributedQueue')
           udd.setJNDIName('OraSDPM/Queues/OraSDPMEngineSndQ1')
           udd.setSubDeploymentName('UMSJMSSubDMSOA')
  -
  +        udd.setDestinationKeys(jarray.array([String('Priority')],String))
  +        cd ('UniformDistributedQueue/OraSDPMEngineSndQ1_soa')
  +        dfp = create('dfpName', 'DeliveryFailureParams')
  +        dfp.setRedeliveryLimit(2)
  +        dfp.setExpirationPolicy('Log')
  +
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
           udd=create('OraSDPMEngineRcvQ1_soa','UniformDistributedQueue')
           udd.setJNDIName('OraSDPM/Queues/OraSDPMEngineRcvQ1')
           udd.setSubDeploymentName('UMSJMSSubDMSOA')
  -
  +        cd ('UniformDistributedQueue/OraSDPMEngineRcvQ1_soa')
  +        dfp = create('dfpName', 'DeliveryFailureParams')
  +        dfp.setRedeliveryLimit(2)
  +        dfp.setExpirationPolicy('Log')
  +
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
           udd=create('OraSDPMDriverDefSndQ1_soa','UniformDistributedQueue')
           udd.setJNDIName('OraSDPM/Queues/OraSDPMDriverDefSndQ1')
           udd.setSubDeploymentName('UMSJMSSubDMSOA')
  -
  +        udd.setDestinationKeys(jarray.array([String('Priority')],String))
  +        cd ('UniformDistributedQueue/OraSDPMDriverDefSndQ1_soa')
  +        dfp = create('dfpName', 'DeliveryFailureParams')
  +        dfp.setRedeliveryLimit(2)
  +        dfp.setExpirationPolicy('Log')
  +
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
  +        uddError=create('OraSDPMAppDefRcvErrorQ1_soa','UniformDistributedQueue')
  +        uddError.setJNDIName('OraSDPM/Queues/OraSDPMAppDefRcvErrorQ1')
  +        uddError.setSubDeploymentName('UMSJMSSubDMSOA')
  +
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
           udd=create('OraSDPMAppDefRcvQ1_soa','UniformDistributedQueue')
           udd.setJNDIName('OraSDPM/Queues/OraSDPMAppDefRcvQ1')
           udd.setSubDeploymentName('UMSJMSSubDMSOA')
  -
  -        udd=create('OraSDPMAppDefRcvErrorQ1_soa','UniformDistributedQueue')
  -        udd.setJNDIName('OraSDPM/Queues/OraSDPMAppDefRcvErrorQ1')
  -        udd.setSubDeploymentName('UMSJMSSubDMSOA')
  -
  +        cd ('UniformDistributedQueue/OraSDPMAppDefRcvQ1_soa')
  +        dfp = create('dfpName', 'DeliveryFailureParams')
  +        dfp.setRedeliveryLimit(2)
  +        dfp.setExpirationPolicy('Log')
  +        dfp.setErrorDestination(uddError)
  +
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
           udd=create('OraSDPMWSRcvQ1_soa','UniformDistributedQueue')
           udd.setJNDIName('OraSDPM/Queues/OraSDPMWSRcvQ1')
           udd.setSubDeploymentName('UMSJMSSubDMSOA')
  -
  +        cd ('UniformDistributedQueue/OraSDPMWSRcvQ1_soa')
  +        dfp = create('dfpName', 'DeliveryFailureParams')
  +        dfp.setRedeliveryLimit(2)
  +        dfp.setExpirationPolicy('Log')
  +
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
           udd=create('OraSDPMEnginePendingRcvQ_soa','UniformDistributedQueue')
           udd.setJNDIName('OraSDPM/Queues/OraSDPMEnginePendingRcvQ')
           udd.setSubDeploymentName('UMSJMSSubDMSOA')
  +        cd ('UniformDistributedQueue/OraSDPMEnginePendingRcvQ_soa')
  +        dfp = create('dfpName', 'DeliveryFailureParams')
  +        dfp.setRedeliveryLimit(2)
  +        dfp.setExpirationPolicy('Log')
   
       if bamEnabled == true:
  +
           print "create subdeployment BAM UMS JMS"
           cd('/')
           cd('JMSSystemResource/UMSJMSSystemResource')
           create('UMSJMSSubDMBAM', 'SubDeployment')
   
  -        umsJMSServerStr = getUMSJMSServers(BAMClusterName)
  +        umsJMSServerStr = getUMSJMSServers(BAMClusterName, Admin)
           umsJMSServerStr = umsJMSServerStr.strip().lstrip().rstrip()
           assign('JMSSystemResource.SubDeployment', 'UMSJMSSystemResource.UMSJMSSubDMBAM', 'Target', umsJMSServerStr)
   
           print ("*** Creating Queues for UMS ***")
           cd('/')
  -        cd('JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
           print ' '
   
  -        udd=create('OraSDPMEngineSndQ1_bam','UniformDistributedQueue')
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
  +        udd= create('OraSDPMEngineSndQ1_bam','UniformDistributedQueue')
           udd.setJNDIName('OraSDPM/Queues/OraSDPMEngineSndQ1')
           udd.setSubDeploymentName('UMSJMSSubDMBAM')
  -
  +        udd.setDestinationKeys(jarray.array([String('Priority')],String))
  +        cd ('UniformDistributedQueue/OraSDPMEngineSndQ1_bam')
  +        dfp = create('dfpName', 'DeliveryFailureParams')
  +        dfp.setRedeliveryLimit(2)
  +        dfp.setExpirationPolicy('Log')
  +
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
           udd=create('OraSDPMEngineRcvQ1_bam','UniformDistributedQueue')
           udd.setJNDIName('OraSDPM/Queues/OraSDPMEngineRcvQ1')
           udd.setSubDeploymentName('UMSJMSSubDMBAM')
  -
  +        cd ('UniformDistributedQueue/OraSDPMEngineRcvQ1_bam')
  +        dfp = create('dfpName', 'DeliveryFailureParams')
  +        dfp.setRedeliveryLimit(2)
  +        dfp.setExpirationPolicy('Log')
  +
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
           udd=create('OraSDPMDriverDefSndQ1_bam','UniformDistributedQueue')
           udd.setJNDIName('OraSDPM/Queues/OraSDPMDriverDefSndQ1')
           udd.setSubDeploymentName('UMSJMSSubDMBAM')
  -
  +        udd.setDestinationKeys(jarray.array([String('Priority')],String))
  +        cd ('UniformDistributedQueue/OraSDPMDriverDefSndQ1_bam')
  +        dfp = create('dfpName', 'DeliveryFailureParams')
  +        dfp.setRedeliveryLimit(2)
  +        dfp.setExpirationPolicy('Log')
  +
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
  +        uddError=create('OraSDPMAppDefRcvErrorQ1_bam','UniformDistributedQueue')
  +        uddError.setJNDIName('OraSDPM/Queues/OraSDPMAppDefRcvErrorQ1')
  +        uddError.setSubDeploymentName('UMSJMSSubDMBAM')
  +
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
           udd=create('OraSDPMAppDefRcvQ1_bam','UniformDistributedQueue')
           udd.setJNDIName('OraSDPM/Queues/OraSDPMAppDefRcvQ1')
           udd.setSubDeploymentName('UMSJMSSubDMBAM')
  -
  -        udd=create('OraSDPMAppDefRcvErrorQ1_bam','UniformDistributedQueue')
  -        udd.setJNDIName('OraSDPM/Queues/OraSDPMAppDefRcvErrorQ1')
  -        udd.setSubDeploymentName('UMSJMSSubDMBAM')
  -
  +        cd ('UniformDistributedQueue/OraSDPMAppDefRcvQ1_bam')
  +        dfp = create('dfpName', 'DeliveryFailureParams')
  +        dfp.setRedeliveryLimit(2)
  +        dfp.setExpirationPolicy('Log')
  +        dfp.setErrorDestination(uddError)
  +
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
           udd=create('OraSDPMWSRcvQ1_bam','UniformDistributedQueue')
           udd.setJNDIName('OraSDPM/Queues/OraSDPMWSRcvQ1')
           udd.setSubDeploymentName('UMSJMSSubDMBAM')
  -
  +        cd ('UniformDistributedQueue/OraSDPMWSRcvQ1_bam')
  +        dfp = create('dfpName', 'DeliveryFailureParams')
  +        dfp.setRedeliveryLimit(2)
  +        dfp.setExpirationPolicy('Log')
  +
  +        cd('/JMSSystemResource/UMSJMSSystemResource/JmsResource/NO_NAME_0')
           udd=create('OraSDPMEnginePendingRcvQ_bam','UniformDistributedQueue')
           udd.setJNDIName('OraSDPM/Queues/OraSDPMEnginePendingRcvQ')
           udd.setSubDeploymentName('UMSJMSSubDMBAM')
  +        cd ('UniformDistributedQueue/OraSDPMEnginePendingRcvQ_bam')
  +        dfp = create('dfpName', 'DeliveryFailureParams')
  +        dfp.setRedeliveryLimit(2)
  +        dfp.setExpirationPolicy('Log')
   
       if osbEnabled == true:
           print "create subdeployment OSB UMS JMS"
  
positive.code:     create('TransactionParams', 'TransactionParams')
      cd('TransactionParams/NO_NAME_0')
      cmo.setXAConnectionFactoryEnabled(true)
  
      if soaEnabled == true:
          print "create subdeployment SOA UMS JMS"
  
negative.code:                 if not token == '' and not token.find("UMSJMSServer_auto") == -1:
                          cd('/JMSServers/'+token)
                          targetServer = get('Target')
                          clustername = getClusterName(targetServer, adminserver_name)
                          searchClusterStr = cluster+":"
                          clusterNameStr = str(clustername)
                          print "searchClusterStr = ",searchClusterStr
  