-
Bug
-
Resolution: Done
-
Major
-
fuse-7.2
-
%
-
-
-
Fuse 7.4 Sprint 46 - Dev #2
As described in [1]:
"I configured custom exception handling for a CXF consumer where I want to use my own processor.
Lile this:
onException(Exception.class)
.handled(false)
.useOriginalMessage()
.process(failureResponseProcessor);
or:
<onException useOriginalMessage="true">
<exception>java.lang.Exception</exception>
<handled><constant>false</constant></handled>
<process ref="failureResponseProcessor"/>
</onException>
If allowStreaming is enabled on the CXF consumer endpoint, my FailureResponseProcessor cannot get the original body (the body part of CachedCxfPayload seems to be empty).
If I set allowStreaming to false, the processor works as expected."
Claus suggested stream-caching, but the user reports it does not help.