Native build doesn't work when camel-quarkus-amqp is used with camel-quarkus-opentelemetry

Solution Verified - Updated -

Issue

  • AnalysisError$ParsingError during native build when using amqp with opentelemetry in Red Hat Build of Camel for Quarkus.
Error: Discovered unresolved method during parsing: io.netty.handler.proxy.Socks5ProxyHandler.<init>(java.net.SocketAddress, java.lang.String, 
java.lang.String). This error is reported at image build time because class io.vertx.core.net.impl.ChannelProvider
 is registered for linking at image build time by command line and command line.Error encountered while parsing
  io.vertx.core.net.impl.ChannelProvider$$Lambda/0x00000008022048b0.handle(Unknown Source)
Parsing context:
   at io.vertx.core.impl.future.FutureImpl$4.onFailure(FutureImpl.java:188)
   at io.vertx.core.impl.future.FutureImpl$ListenerArray.onFailure(FutureImpl.java:316)
   at io.vertx.core.impl.future.FutureBase.lambda$emitFailure$1(FutureBase.java:75)
   at io.vertx.core.impl.future.FutureBase$$Lambda/0x00000008021874b0.run(Unknown Source)
   at java.util.OptionalInt.ifPresentOrElse(OptionalInt.java:185)

Environment

  • Red Hat Build of Quarkus
    • 3.x
  • Red Hat Build of Camel for Quarkus
    • 4.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content