How to configure proxy setting for rest client in Quarkus

Solution Unverified - Updated -

Issue

  • How do I configure proxy setting for MicroProfile rest client style code as below in Quarkus?
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

@Path("/hello")
@RegisterRestClient
public interface GreetingService {
    @GET
    @Produces(MediaType.TEXT_PLAIN)
    public String hello();
}

Environment

  • Red Hat Build of Quarkus (RHBQ)
    • 1.7.x

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