Skip to content

Commit

Permalink
Merge pull request #473 from Team-Ampersand/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
esperar authored Dec 17, 2024
2 parents 2ce41f7 + 42c2488 commit 22766a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ 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: MUSIC", event.id)
CompletableFuture.runAsync {
eventPublisher.publishEvent(event,event.eventType.toString())
eventPublisher.publishEvent(event, "MUSIC")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ 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: RESERVE", event.id)
CompletableFuture.runAsync {
eventPublisher.publishEvent(event,event.eventType.toString())
eventPublisher.publishEvent(event, "RESERVE")
}
}

Expand Down

0 comments on commit 22766a5

Please sign in to comment.