JiriOndrusek commented on code in PR #3847: URL: https://github.com/apache/camel-quarkus/pull/3847#discussion_r922075156
########## extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/FastCamelContext.java: ########## @@ -81,7 +81,10 @@ public String getVersion() { @Override protected Registry createRegistry() { // Registry creation is done at build time - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException( + "In case that the test based on CamelQuarkusTestSupport throws this exception, " + + "be aware that re-starting of context is not possible. " + + "(See https://camel.apache.org/camel-quarkus/2.10.x/user-guide/testing.html)"); Review Comment: I add a text into the `UnsupportedOperationException`, which is thrown in case that context is re-started with `CamelQuarkusTestSupport`. This will make the exception understandable for users. @ppalaga What do you think? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org