Skip to content

Commit

Permalink
이벤트 헤더 설정 squirrel
Browse files Browse the repository at this point in the history
  • Loading branch information
esperar committed Dec 17, 2024
1 parent 2ce41f7 commit 5de5d79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class MusicApplicationEventListener(
)
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMPLETION)
fun onEvent(event: MusicDotoriEvent) {
log.info("published music event: {} eventType: {}", event.id, event.eventType)
log.info("published music event: {} eventType: {}", event.id, "MUSIC")
CompletableFuture.runAsync {
eventPublisher.publishEvent(event,event.eventType.toString())
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ReserveEventListener(
)
@TransactionalEventListener(phase = TransactionPhase.AFTER_COMPLETION)
fun onEvent(event: ReserveDotoriEvent) {
log.info("published reserve event: {} eventType: {}", event.id, event.eventType)
log.info("published reserve event: {} eventType: {}", event.id, "RESERVE")
CompletableFuture.runAsync {
eventPublisher.publishEvent(event,event.eventType.toString())
}
Expand Down

0 comments on commit 5de5d79

Please sign in to comment.