mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Add more JMS sample log output
This commit is contained in:
parent
dd66f119d3
commit
2d8f66e3c5
@ -32,6 +32,7 @@ class JmsExample implements CommandLineRunner {
|
|||||||
} as MessageCreator
|
} as MessageCreator
|
||||||
log.info "Sending JMS message..."
|
log.info "Sending JMS message..."
|
||||||
jmsTemplate.send("spring-boot", messageCreator)
|
jmsTemplate.send("spring-boot", messageCreator)
|
||||||
|
log.info "Send JMS message, waiting..."
|
||||||
latch.await()
|
latch.await()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user