So I do something like:
However, When I run the integration, all I get is connection refused. I found one thread in our chat (I will post link into the comment) where Maria had the same issue and the workaround was to disable autowiring, as the camel was using an elasticsearch client that comes from quarkus as the default client, and my options were ignored.
I couldn't find an issue about it anywhere, so this issue is about either:
- fixing it to use the options I specified and not some default client I don't know about
- document how to configure it through quarkus properties so that I don't need to create the component manually
- document that the user needs to add getContext().setAutowiredEnabled(false); to make it work