flexrep:domain-alerting-uri( $domain-id as xs:unsignedLong ) as xs:string
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. |
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)))
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.