You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2008/05/14 18:12:20 UTC
svn commit: r656325 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/DispatchPhase.java
Author: damrhei
Date: Wed May 14 09:12:19 2008
New Revision: 656325
URL: http://svn.apache.org/viewvc?rev=656325&view=rev
Log:
Add an extra check in the DispatchPhase for the DISABLE_RESPONSE_ACK being on the AxisService instance that is on the MessageContext. A QOS provider could have set the DISABLE_RESPONSE_ACK on the AxisService instead of moving it to the MessageContext for each invocation.
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/DispatchPhase.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/DispatchPhase.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/DispatchPhase.java?rev=656325&r1=656324&r2=656325&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/DispatchPhase.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/DispatchPhase.java Wed May 14 09:12:19 2008
@@ -116,6 +116,11 @@
// We should send an early ack to the transport whever possible, but some modules need
// to use the backchannel, so we need to check if they have disabled this code.
Boolean disableAck = (Boolean) msgContext.getProperty(Constants.Configuration.DISABLE_RESPONSE_ACK);
+ if(disableAck == null) {
+ disableAck = (Boolean) (msgContext.getAxisService() != null ?
+ msgContext.getAxisService().getParameterValue(Constants.Configuration.DISABLE_RESPONSE_ACK) : null);
+ }
+
if(disableAck == null || disableAck.booleanValue() == false) {
String mepString = msgContext.getAxisOperation().getMessageExchangePattern();
if (isOneway(mepString)) {
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org