@StreamListener(SpringCloudBusClient.OUTPUT) public void onAckRemoteApplicationEvent(AckRemoteApplicationEvent event) { System.out.printf("AckRemoteApplicationEvent - " + " Source : %s , originService : %s , destinationService : %s \n", event.getSource(), event.getOriginService(), event.getDestinationService()); } }
protected Map<String, Object> getReceivedTrace(AckRemoteApplicationEvent event) { Map<String, Object> map = new LinkedHashMap<String, Object>(); map.put("signal", "spring.cloud.bus.ack"); map.put("event", event.getEvent().getSimpleName()); map.put("id", event.getAckId()); map.put("origin", event.getOriginService()); map.put("destination", event.getAckDestinationService()); if (log.isDebugEnabled()) { log.debug(map); } return map; } }
AckRemoteApplicationEvent ack = new AckRemoteApplicationEvent(this, this.serviceMatcher.getServiceId(), this.bus.getAck().getDestinationService(),
protected Map<String, Object> getReceivedTrace(AckRemoteApplicationEvent event) { Map<String, Object> map = new LinkedHashMap<String, Object>(); map.put("signal", "spring.cloud.bus.ack"); map.put("event", event.getEvent().getSimpleName()); map.put("id", event.getAckId()); map.put("origin", event.getOriginService()); map.put("destination", event.getAckDestinationService()); if (log.isDebugEnabled()) { log.debug(map); } return map; } }
AckRemoteApplicationEvent ack = new AckRemoteApplicationEvent(this, this.serviceMatcher.getServiceId(), this.bus.getAck().getDestinationService(),
@StreamListener(SpringCloudBusClient.OUTPUT) public void onAckRemoteApplicationEvent(AckRemoteApplicationEvent event) { System.out.printf("AckRemoteApplicationEvent - " + " Source : %s , originService : %s , destinationService : %s \n", event.getSource(), event.getOriginService(), event.getDestinationService()); } }