From 3b1f61fb9936071ca1f825132e3078558cad8946 Mon Sep 17 00:00:00 2001 From: Andrew Khoury Date: Wed, 15 May 2019 14:00:20 -0700 Subject: [PATCH] Update SampleReplicationPreprocessor.java Add immediate = true for the OSGi component. I found during testing that the preprocessor doesn't consistently get picked up unless immediate = true is set. --- .../replication/impl/SampleReplicationPreprocessor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundle/src/main/java/com/adobe/acs/samples/replication/impl/SampleReplicationPreprocessor.java b/bundle/src/main/java/com/adobe/acs/samples/replication/impl/SampleReplicationPreprocessor.java index 188e9e6..6df6787 100644 --- a/bundle/src/main/java/com/adobe/acs/samples/replication/impl/SampleReplicationPreprocessor.java +++ b/bundle/src/main/java/com/adobe/acs/samples/replication/impl/SampleReplicationPreprocessor.java @@ -39,7 +39,8 @@ import org.slf4j.LoggerFactory; @Component( - label = "ACS AEM Samples - Sample Replication Preprocessor" + label = "ACS AEM Samples - Sample Replication Preprocessor", + immediate = true ) @Service public class SampleReplicationPreprocessor implements Preprocessor {