public boolean isForSelf(RemoteApplicationEvent event) { String destinationService = event.getDestinationService(); if (destinationService == null || destinationService.trim().isEmpty() || this.matcher.match(destinationService, getServiceId())) { return true; } // Check all potential config names instead of service name for (String configName : this.configNames) { if (this.matcher.match(destinationService, configName)) { return true; } } return false; }
public boolean isForSelf(RemoteApplicationEvent event) { String destinationService = event.getDestinationService(); if (destinationService == null || destinationService.trim().isEmpty() || this.matcher.match(destinationService, getServiceId())) { return true; } // Check all potential config names instead of service name for (String configName : this.configNames) { if (this.matcher.match(destinationService, configName)) { return true; } } return false; }
this.serviceMatcher.getServiceId(), this.bus.getAck().getDestinationService(), event.getDestinationService(), event.getId(), event.getClass()); this.cloudBusOutboundChannel .send(MessageBuilder.withPayload(ack).build()); event.getOriginService(), event.getDestinationService(), event.getId(), event.getClass()));
this.serviceMatcher.getServiceId(), this.bus.getAck().getDestinationService(), event.getDestinationService(), event.getId(), event.getClass()); this.cloudBusOutboundChannel .send(MessageBuilder.withPayload(ack).build()); event.getOriginService(), event.getDestinationService(), event.getId(), event.getClass()));