From 66d59613ba68941fe3881437ba0ab5435a3ebce2 Mon Sep 17 00:00:00 2001 From: Seenivasa Ragavan Date: Sun, 25 Apr 2021 13:55:23 +1000 Subject: [PATCH] Fixing the issue when Replication Type is delete --- .../java/design/aem/transport/AkamaiTransportHandler.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aemdesign-aem-services/src/main/java/design/aem/transport/AkamaiTransportHandler.java b/aemdesign-aem-services/src/main/java/design/aem/transport/AkamaiTransportHandler.java index 0afcf1ac4..ce2dec305 100644 --- a/aemdesign-aem-services/src/main/java/design/aem/transport/AkamaiTransportHandler.java +++ b/aemdesign-aem-services/src/main/java/design/aem/transport/AkamaiTransportHandler.java @@ -148,7 +148,10 @@ public ReplicationResult deliver(TransportContext ctx, ReplicationTransaction tx ReplicationActionType replicationType = tx.getAction().getType(); // only runs the code if ReplicationAction type matches any of the following - if (replicationType == ReplicationActionType.TEST || replicationType == ReplicationActionType.ACTIVATE || replicationType == ReplicationActionType.DEACTIVATE) { + if (replicationType == ReplicationActionType.TEST || + replicationType == ReplicationActionType.ACTIVATE || + replicationType == ReplicationActionType.DEACTIVATE || + replicationType == ReplicationActionType.DELETE ) { return handleRequest(tx); } else { throw new ReplicationException("Replication action type " + replicationType + " not supported.");