This is an automated email from the ASF dual-hosted git repository.
ffang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/main by this push:
new 4888c634dd CXF-9091: Cache payload for oneway (#2262)
4888c634dd is described below
commit 4888c634ddbed09bd8cf332ed527565b82cb1423
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)
---
.../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)