How to cancel page activation programmatically?
问题 I would like to cancel the activation of some page, when x!=y is met. I am trying to do this with EventHandler . The author clicks on activate Page in the sidekick , and my EventHandler gets a replication event and tests if x!=y . If this is met, the page activation has to be canceled. My question is how do I cancel the page activation? @Component(immediate = true, label = "TEST") @Service @Property(name = "event.topics", value = { ReplicationAction.EVENT_TOPIC }) public class EventHandler