jamesnetherton commented on issue #7140: URL: https://github.com/apache/camel-quarkus/issues/7140#issuecomment-2735605234
Thanks for the example. You're right, the framework starts the `CamelContext`, and the advice is applied afterwards. So you see in the logs messages like: ``` [org.apa.cam.com.kaf.KafkaConsumer] (Camel (camel-1) thread #2 - ShutdownTask) Stopping Kafka consumer on topic: topic.foo ``` The routes are being advised though, else the test would not pass. I don't have a workaround or simple fix. We'd probably need to rework some of the core bootstrapping logic to allow the `CamelContext` to be started manually and perhaps allow the context to be stopped / started between tests. Currently it's not possible https://github.com/apache/camel-quarkus/issues/3692. -- 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