Skip to content

Commit

Permalink
FromString
Browse files Browse the repository at this point in the history
  • Loading branch information
cditcher committed Dec 11, 2024
1 parent c2316ac commit e558c7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void onMessage(Message message) {
Event event = JsonUtil.getJsonObjectFromString(Event.class, eventString);
log.info("received GET_STUDENT event :: {}", event.getSagaId());
log.trace(PAYLOAD_LOG, event.getEventPayload());
UUID studentId = JsonUtil.getJsonObjectFromString(UUID.class, event.getEventPayload());
UUID studentId = UUID.fromString(event.getEventPayload());
GradStudentRecord studentRecord = gradStudentService.getGraduationStudentRecord(studentId);
response = getResponse(studentRecord);
log.info(RESPONDING_BACK_TO_NATS_ON_CHANNEL, message.getReplyTo() != null ? message.getReplyTo() : event.getReplyTo());
Expand Down

0 comments on commit e558c7b

Please sign in to comment.