Skip to content

Commit

Permalink
Kavitha | add logs for payload
Browse files Browse the repository at this point in the history
  • Loading branch information
kavitha-sundararajan committed Sep 19, 2024
1 parent fa1def0 commit 57a73b5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 57a73b5

Please sign in to comment.