Re: Suppress CXF Exception

2018-10-13 Thread Ivan Junckes Filho
Thanks a lot for your help Romain. On Sat, Oct 13, 2018 at 4:32 PM Romain Manni-Bucau wrote: > Le sam. 13 oct. 2018 à 19:11, Ivan Junckes Filho a > écrit : > > > Thanks Romain, it works. Is there anyway to make this work without having > > to annotate the client? > > > > i dont think so > > > >

Re: Suppress CXF Exception

2018-10-13 Thread Romain Manni-Bucau
Le sam. 13 oct. 2018 à 19:11, Ivan Junckes Filho a écrit : > Thanks Romain, it works. Is there anyway to make this work without having > to annotate the client? > i dont think so > > Is the property being ignored a bug in mp impl? > Yes and in the client as well AFAIK > > > On Sat, Oct 13,

Re: Suppress CXF Exception

2018-10-13 Thread Ivan Junckes Filho
Thanks Romain, it works. Is there anyway to make this work without having to annotate the client? Is the property being ignored a bug in mp impl? On Sat, Oct 13, 2018 at 1:57 PM Romain Manni-Bucau wrote: > this property is ignored by the MP layer, you have to use a cxf > interceptor: > > @OutI

Re: Suppress CXF Exception

2018-10-13 Thread Romain Manni-Bucau
this property is ignored by the MP layer, you have to use a cxf interceptor: @OutInterceptors(classes = MyInterceptor.class) @Path("foo") public interface MyApi { @GET String get(); } public class MyInterceptor extends AbstractPhaseInterceptor { public MyInterceptor() { super(

Re: Suppress CXF Exception

2018-10-13 Thread Ivan Junckes Filho
I tried this and doesn't seem to work. RestClientBuilder builder = null; builder.property("org.apache.cxf.logging.FaultListener", new NoOpFaultListener()); Is this wrong? On Sat, Oct 13, 2018 at 12:47 PM Romain Manni-Bucau wrote: > Hi Ivan > > you can either configure the log level or set a

Re: Suppress CXF Exception

2018-10-13 Thread Romain Manni-Bucau
Hi Ivan you can either configure the log level or set a FaultListener to handle that and bypass the default log. Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github

Suppress CXF Exception

2018-10-13 Thread Ivan Junckes Filho
Hey guys, I get this when using cxf microprofile impl, is there anyway to suppress this cxf exception, I would like to do proper error handling and I don't want it to be printed on my logs. out 13, 2018 12:18:22 PM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging WARNING: Interceptor f