Light, fluffy, and always free - The AWS Local Emulator alternative
filter esms in sqs poller (#447)
bkindersleytrulioobf67c61d6093
diff --git a/src/main/java/io/github/hectorvent/floci/services/lambda/SqsEventSourcePoller.java b/src/main/java/io/github/hectorvent/floci/services/lambda/SqsEventSourcePoller.javaindex 44e7863a07..7b58f9329f 100644--- a/src/main/java/io/github/hectorvent/floci/services/lambda/SqsEventSourcePoller.java+++ b/src/main/java/io/github/hectorvent/floci/services/lambda/SqsEventSourcePoller.java@@ -73,7 +73,7 @@ public class SqsEventSourcePoller {void init() {List<EventSourceMapping> esms = esmStore.list();for (EventSourceMapping esm : esms) {- if (esm.isEnabled()) {+ if (esm.isEnabled() && esm.getEventSourceArn().contains(":sqs:")) {startPolling(esm);}}