Hello,
Any feedback ?
FYI, I tried with this class
public class MyInterceptor extends AbstractPhaseInterceptor<Message> {
public MyInterceptor() {
super(Phase.PRE_LOGICAL);
}
public void handleMessage(final Message message) throws Fault {
message.put(FaultListener.class.getName(), new NoOpFaultListener());
}
public void handleFault(final Message message) {
// no-op
}
}
and in the resource class: @OutInterceptors(classes = MyInterceptor.class)
It doesn't work :(
Best Regards.
From: COURTAULT Francois
Sent: vendredi 14 février 2020 18:15
To: [email protected]
Subject: Removing cxf fault
Hello everyone,
Do you know how to disable the cxf fault in TomEE ?
Sample below:
14-Feb-2020 17:49:57.425 WARNING [MyJmsResourceAdapter-worker- - 5]
org.apache.cxf.phase.PhaseInterceptorChain.doDefault
Logging Interceptor for {http://www.apache.org/}WebClient has thrown exception,
unwinding now
How to avoid this log message ?
Best Regards.