From 57a73b557f72deb5233bb5e69619e041dec53eea Mon Sep 17 00:00:00 2001 From: Kavitha S Date: Thu, 19 Sep 2024 15:33:23 +0530 Subject: [PATCH] Kavitha | add logs for payload --- .../java/org/bahmni/eventrouterservice/route/EventProcessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/bahmni/eventrouterservice/route/EventProcessor.java b/src/main/java/org/bahmni/eventrouterservice/route/EventProcessor.java index 4166b86..fb386f2 100644 --- a/src/main/java/org/bahmni/eventrouterservice/route/EventProcessor.java +++ b/src/main/java/org/bahmni/eventrouterservice/route/EventProcessor.java @@ -32,6 +32,7 @@ public void process(Exchange exchange) { } String payloadAsJsonString = exchange.getIn().getBody(String.class); String updatedPayloadAsJson = addAdditionalProperties(payloadAsJsonString, routeDescription.getAdditionalProperties()); + System.out.println("PAYLOAD JSON --- " + updatedPayloadAsJson); exchange.getIn().setBody(updatedPayloadAsJson); String destinationTopic = getDestination(exchange.getIn().getHeader("eventType"));