You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2025/02/11 20:52:48 UTC
(cxf) branch main updated: CXF-9091: Cache payload for oneway (#2262)
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 <48...@users.noreply.github.com>
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)