Skip to content

v1.2.2

Compare
Choose a tag to compare
@urbim urbim released this 29 Jun 09:59
· 53 commits to master since this release

We are releasing a minor version of KumuluzEE Rest Client. This version contains fixes for integration with KumuluzEE Fault Tolerance. It also fully supports Java 12.

Rest client definitions now support Fault Tolerance interceptors. For example to retry a request in case of its failure the definition could look something like this:

@RegisterRestClient
@Path("/customers")
@Dependent
public interface CustomerClient {

    @GET
    @Retry(maxRetries = 5)
    Customer getCustomer(int id);
}

NOTE: @Asynchronous annotation is currently not supported. If required please use a wrapper instead.

Bugs

  • Use regular beans instead of DeltaSpike (fixes FT and Java 12 issues)