Author: ay
Date: Wed Feb 15 20:39:14 2012
New Revision: 1244697
URL: http://svn.apache.org/viewvc?rev=1244697&view=rev
Log:
[CXF-4096] a robust in-only option with WS-A
Modified:
cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/InternalContextUtils.java
Modified:
cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/InternalContextUtils.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/InternalContextUtils.java?rev=1244697&r1=1244696&r2=1244697&view=diff
==============================================================================
---
cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/InternalContextUtils.java
(original)
+++
cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/InternalContextUtils.java
Wed Feb 15 20:39:14 2012
@@ -124,6 +124,7 @@ final class InternalContextUtils {
MessageUtils.isTrue(inMessage.getContextualProperty(Message.ROBUST_ONEWAY));
if (robust) {
+ BindingOperationInfo boi =
exchange.get(BindingOperationInfo.class);
// insert the executor in the exchange to fool the
OneWayProcessorInterceptor
exchange.put(Executor.class, getExecutor(inMessage));
// pause dispatch on current thread and resume...
@@ -136,6 +137,8 @@ final class InternalContextUtils {
faultObserver.onMessage(inMessage);
return;
}
+ // restore the BOI for the partial response handling
+ exchange.put(BindingOperationInfo.class, boi);
}