jamesnetherton commented on issue #2939: URL: https://github.com/apache/camel-quarkus/issues/2939#issuecomment-1153858372
I found a way with `NativeImageLauncher` https://github.com/jamesnetherton/camel-quarkus/commit/dfc26156f40797a10424759505f3266558d99938. ``` Executing "camel-quarkus-examples/kafka/target/camel-quarkus-examples-kafka-2.10.0-SNAPSHOT-runner -Dquarkus.http.port=8081 -Dquarkus.http.ssl-port=8444 -Dtest.url=http://localhost:8081 -Dquarkus.log.file.path=/home/james/Projects/camel-quarkus-examples/kafka/target/quarkus.log -Dquarkus.log.file.enable=true -Dkafka.bootstrap.servers=OUTSIDE://localhost:49192 -Dcamel.component.kafka.brokers=OUTSIDE://localhost:49192" ``` Not sure if the Kafka extension is the best place for such code - WDYT? Maybe the better long term solution would be to have a dedicated `camel-quarkus-test` dependency that we bundle stuff like this into (and eventually also the code for whatever solution comes out of #3511). If we think this solution is too heavyweight, then we could just document the workarounds. -- 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