Hi Team,
6.1 to 6.4 migration:
Could you please let me know how to get the EVENT_FILTER value or PROPERTY_APPLICATION value?
Here is my code correct me if I am wrong
@Properties({ @Property(name = EventConstants.EVENT_TOPIC, value = {ReplicationAction.EVENT_TOPIC,AlertSender.JOB_TOPIC}, propertyPrivate = true),
@Property(name = EventConstants.EVENT_FILTER, value="(!(" + DEAConstants.PROPERTY_APPLICATION + "=*))")})
@Override
public void handleEvent(Event event) {
//String localevent = (String)event.getProperty("event.filter");-- commented
String localEvent=(String)event.getProperty(DEAConstants.PROPERTY_APPLICATION);
if(StringUtil.isBlank(localEvent)){
//JobUtil.processJob(event, this); -- Need to replace this method also please let me know how to use jobConsumer interface here
}
}