transport.consume.type=HTTPAUTH
transport.message-router.apiKey=apiKeyTemp123
transport.message-router.apiSecret=apiSecretTemp123
-transport.message-router.requiredPombaTopics=POA-AUDIT-INIT,POA-AUDIT-RESULT,POA-RULE-VALIDATION,POA-AUDIT-TEST-ONLY
+transport.message-router.requiredPombaTopics=POA-AUDIT-INIT,POA-AUDIT-RESULT,POA-RULE-VALIDATION
transport.publish.host=<replace_with_host_or_ip>
transport.publish.port=<replace>
@Autowired
private MRTopicManager messageRouterTopicMgr;
- @Autowired
+ @Value("${transport.message-router.requiredPombaTopics}")
private String messageRouterRequiredPombaTopicList;
@Autowired
}
}
+ /**
+ * The configurable POMBA Topics (POA-AUDIT-INIT,POA-AUDIT-RESULT,POA-RULE-VALIDATION, etc.)
+ * will be created if any of topics doesn't exist prior to be invoked.
+ *
+ * @param eventPayload
+ * @return
+ * @throws ContextAggregatorException
+ */
@Override
public Void call() throws Exception {
createPombaTopics();