Camel provides various HTTP clients like: 1. http (https://camel.apache.org/components/4.0.x/http-component.html) 2. netty http ( https://camel.apache.org/components/4.0.x/netty-http-component.html) 3. vert.x http ( https://camel.apache.org/components/4.0.x/vertx-http-component.html) 4. rest (https://camel.apache.org/components/4.0.x/rest-component.html)
I don't know if any of those client explicitly support HTTP/2, but if not, you can make a custom processor: https://camel.apache.org/manual/processor.html And then run a http request (*java.net.http.HttpRequest*) like this: HttpRequest request = HttpRequest.newBuilder() .uri(new URI("https://postman-echo.com/get")) .version(HttpClient.Version.HTTP_2) .GET() .build(); In the HTTP client since JDK 11 you can explicitly set the version. Raymond On Sun, Oct 8, 2023 at 7:17 PM Alphonse Bendt <alphonse.be...@gmail.com> wrote: > Hi folks, > > How can I use Camel to send HTTP/2 requests to an existing HTTP/2 endpoint? > > I tried out the http-component and it does not seem to support http/2. > Are there any other camel components available that support that? Are > there any plans to extend the http-component with http/2 support? > What other alternatives are there? > > Thanks in advance, > Alphonse > >