MarkLogic 9 Product Documentation
flexrep:domain-alerting-uri

flexrep:domain-alerting-uri(
   $domain-id as xs:unsignedLong
) as xs:string

Summary

Generate an alerting URI for a CPF domain. The URI will be a subdirectory of the directory used to store other state for the FlexRep domain. There is no requirement that the alerting configuration that a FlexRep domain be stored in this location, but it is a convenient place to put it.

Parameters
domain-id The CPF domain ID.

Example


xquery version "1.0-ml"; 
 
import module namespace flexrep = "http://marklogic.com/xdmp/flexible-replication" 
      at "/MarkLogic/flexrep.xqy";


flexrep:configuration-insert(
  flexrep:configuration-set-alerting-uri($cfg,
    flexrep:domain-alerting-uri($domain-id)))
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy