What is Multiple Destination Publishing?
DEFAULT strategy means that there will be only one deployer only one URL is registered in discovery-service).
MIRROR strategy means that you can have more than one deployer (multiple URLs are registered in discovery-service) and transport service will send the package to all of the deployer URLs register in discovery service.
How to configure Multiple Destination Publishing?
We can do this by defining the strategy for the DeployerCapability which is registered in the Discovery Microservice cd_storage.conf.xml:
If you have set up multiple Content Deployer destinations, do the following in order to setup MIRROR strategy:
- Ensure that this Role element has a Strategy attribute, set to MIRROR.
- Inside the Role element, insert a Urls subsection, itself containing two or more Url subelements. Each Url element must have a Value attribute, set to the URL of the destination, and can have a DestinationName attribute, set to the name of this destination
Strategy Attribute
This Role has one Capability URL (value DEFAULT, to be specified in the Url attribute)
or multiple ones value MIRROR, to be specified in the URLs subsection. Defaults to DEFAULT is not specified.
Happy Coding and Keep Sharing !!!
Happy Coding and Keep Sharing !!!