lburgazzoli commented on a change in pull request #189: Make xml and jaxb disabled by default and opt-in when depending on camel URL: https://github.com/apache/camel-quarkus/pull/189#discussion_r323278960
########## File path: extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/BuildProcessor.java ########## @@ -70,10 +73,17 @@ CamelRuntimeBuildItem create( CamelRecorder recorder, List<CamelRegistryBuildItem> registryItems, + List<CamelContextBuildItem> contexts, BuildProducer<RuntimeBeanBuildItem> runtimeBeans) { + Supplier<CamelContext> contextSupplier; + if (contexts.size() == 0) { + contextSupplier = new FastCamelContextSupplier(); + } else { + contextSupplier = contexts.get(0).getContext(); + } Review comment: We may need to throw an exception in case of contexts > 1 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services