This is an automated email from the ASF dual-hosted git repository.

ffang pushed a commit to branch 3.6.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.6.x-fixes by this push:
     new 914fe0beca CXF-9091: Cache payload for oneway (#2262)
914fe0beca is described below

commit 914fe0beca548dd8e98b562cead142b20640ebde
Author: Manuel <[email protected]>
AuthorDate: Tue Feb 11 21:50:57 2025 +0100

    CXF-9091: Cache payload for oneway (#2262)
---
 .../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 6182ef011b..92173c866e 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)

Reply via email to