We do use the ResteasyClient and the ResteasyClientBuilder to build a REST Client.
Unfortunately, the built client's underlying HttpClient automatically retries requests to the given URL and there is no way to let the client builder build a client that does not behave like that.
This is a problem, if there are actual money wise transaction involved after firing such a request, as the receiving end could potentially then execute those requests multiple times, even though based on BL of the client, this is not meant to be like that.
If possible, can you make use and somehow expose the "disableAutomaticRetries" on the Apache HttpClientBuilder, that you do use in the ResteasyClientBuilder, so automatic retries can be disabled by people who want to avoid silent http request retries?
where the client is being built.