Merge remote-tracking branch 'origin/master' into dev
This commit is contained in:
commit
afa34eba61
@ -36,6 +36,7 @@ public class InnerFilterDefinitionKey implements InnerMessageQueueHandleBeforeFi
|
||||
}
|
||||
Map<String, String> headers = message.getProperties();
|
||||
String processDefinitionKey = headers.getOrDefault(MQ_OWNERSHIP_PROCESS_DEFINITION_KEY, "");
|
||||
log.info("MQ_OWNERSHIP_PROCESS_DEFINITION_KEY: {}", processDefinitionKey);
|
||||
if (properties.getBroadcast().getFilterProcessDefinitionKeys().contains(processDefinitionKey)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -34,7 +34,7 @@ public class InnerFilterMQOwnerShip implements InnerMessageQueueHandleBeforeFilt
|
||||
}
|
||||
Map<String, String> headers = message.getProperties();
|
||||
String mqOwnerShip = headers.getOrDefault(MQ_OWNERSHIP_APPLICATION, null);
|
||||
|
||||
log.info("MQ_OWNERSHIP_APPLICATION: {}", mqOwnerShip);
|
||||
if (!StringUtils.hasText(mqOwnerShip)) {
|
||||
log.debug("【{}】The broadcast message does not attribute the message, will not be ignored. messageId: {}", this.getClass().getSimpleName(), message.getMsgId());
|
||||
return false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user