The 5.7 branch of Magnolia reached End-of-Life on December 31, 2023, as specified in our End-of-life policy. This means the 5.7 branch is no longer maintained or supported. Please upgrade to the latest Magnolia release. By upgrading, you will get the latest release of Magnolia featuring significant improvements to the author and developer experience. For a successful upgrade, please consult our Magnolia 6.2 documentation. If you need help, please contact info@magnolia-cms.com.

Since Magnolia 5.6, the Transactional Activation module has been deprecated in favor of the Publishing Transactional module.

The Transactional Activation module ensures synchronization of content between multiple public instances. The module extends the single-subscriber, Community Edition's Activation module by providing parallel publishing to up to 10 public instances. 

Publishing to multiple subscribers is encapsulated in a single transaction. This means that if one of the public instances is down, content will not be published to any of them. 

Installing

Maven is the easiest way to install the module. Add the following to your bundle. The parent POM of your webapp project should set the latest version of the module automatically. Should you need to use a specific module version, you can define it using the <version/> in the dependency.

<dependency>
  <groupId>info.magnolia</groupId>
  <artifactId>magnolia-module-exchange-transactional</artifactId>
</dependency>

Usage

Content is activated (published) transactionally automatically when the Transactional Activation module is installed. No configuration is required.

Activating content to all subscribers in a single transaction means that if one of the public instances is down, content will not be activated to any of them. The user is notified of the situation in an error message. To resume activation in such a case, an administrator has to either bring the affected subscriber back online, disable it, or remove it from the list of subscribers. When they later enable such a subscriber, it is strongly recommended to completely republish all content to the affected subscriber.

Transactional activation (publishing) works the same way for deactivation (unpublishing) and the same way whether invoked directly or via an approval workflow.

While it is possible to have more than 10 subscribers (public instances), the Transactional Activation module can only publish content to up to 10 subscribers in parallel.