Should observers of StartupEvent
return promptly?
#48147
Answered
by
cescoffier
pavelrappo
asked this question in
Q&A
-
Both the CDI specification and Quarkus source code suggest that an observer of |
Beta Was this translation helpful? Give feedback.
Answered by
cescoffier
Jun 2, 2025
Replies: 1 comment 1 reply
-
Yes, the startup event is invoked on the "main" thread, so blocking will put the rest of the application startup on hold. What do you call the "main event loop"? Quarkus has a built-in event bus if you need on. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
pavelrappo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, the startup event is invoked on the "main" thread, so blocking will put the rest of the application startup on hold.
What do you call the "main event loop"? Quarkus has a built-in event bus if you need on.