How to configure proxy setting for rest client in Quarkus
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.