Skip to content

Commit

Permalink
fix: log message
Browse files Browse the repository at this point in the history
  • Loading branch information
farneser committed Jun 25, 2024
1 parent 4703328 commit 11b9080
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -21,11 +21,11 @@ class MessageListener(

@RabbitListener(queues = [QueueType.GET_STATISTICS])
fun receiveMessageFromRegisterQueue(message: String) {
log.info("Received message from register queue at ${System.currentTimeMillis()} : $message")
log.info("Received message from get statistics queue at ${System.currentTimeMillis()} : $message")

val id = Gson().fromJson(message, Long::class.java)

val user = userService.getUser(id);
val user = userService.getUser(id)

if (user != null) {
schedulerService.notifyUser(user)

0 comments on commit 11b9080

Please sign in to comment.