Building the API client library requires Maven to be installed.
To install the API client library to your local Maven repository, simply execute:
mvn install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn deploy
Refer to the official documentation for more information.
After the client library is installed/deployed, you can use it in your Maven project by adding the following to your pom.xml:
<dependency>
<groupId>com.extole.consumer</groupId>
<artifactId>consumer-api-feign</artifactId>
<version>1.0.25</version>
<scope>compile</scope>
</dependency>
It's recommended to create an instance of ApiClient
per thread in a multithreaded environment to avoid any potential issues.