0 Replies Latest reply on Dec 19, 2014 7:23 AM by nmoelholm

    JAX-RS 2.0 Client API - How to create a "retry"-like filter?

    nmoelholm

      Hi Guys,

       

      Reading the spec reveals that the client api allows for:

      * Filters

      * Interceptors

       

      The filters seems to be the place to do "whatever" before/after a request goes to the wire.

       

      I want to create a filter that is able to retry a WS operation - is that possible ?

       

      ( I don't see something similar to an "around" advice - you know; where you would get a ctx.proceed(); call option )

       

      /Nicky