This is an automated email from the ASF dual-hosted git repository.
ffang pushed a commit to branch 4.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/4.0.x-fixes by this push:
new ad9a149c16 CXF-9091: Cache payload for oneway (#2262)
ad9a149c16 is described below
commit ad9a149c16bc086c23cd550af2a38e1ad561d75a
Author: Manuel <[email protected]>
AuthorDate: Tue Feb 11 21:50:57 2025 +0100
CXF-9091: Cache payload for oneway (#2262)
(cherry picked from commit 914fe0beca548dd8e98b562cead142b20640ebde)
(cherry picked from commit 4888c634ddbed09bd8cf332ed527565b82cb1423)
---
.../java/org/apache/cxf/ws/addressing/impl/InternalContextUtils.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/InternalContextUtils.java
b/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/InternalContextUtils.java
index c89108f796..343213bee6 100644
---
a/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/InternalContextUtils.java
+++
b/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/InternalContextUtils.java
@@ -274,6 +274,7 @@ final class InternalContextUtils {
DelegatingInputStream in =
inMessage.getContent(DelegatingInputStream.class);
if (in != null) {
in.cacheInput();
+ inMessage.put("cxf.io.cacheinput", Boolean.TRUE);
}
}
if (chain != null && !chain.doIntercept(partialResponse)