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 am...@apache.org on 2009/03/25 09:20:59 UTC
svn commit: r758172 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutOnlyAxisOperation.java
Author: amilas
Date: Wed Mar 25 08:20:57 2009
New Revision: 758172
URL: http://svn.apache.org/viewvc?rev=758172&view=rev
Log:
remove the setting of out only operations always as transport non blocking. if
need users can set it. although it set to blocking it only blocks until the 202 Accepted header
comes. not using the same thread cause performance problems for MultiThreadedHttpConnectionManager
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutOnlyAxisOperation.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutOnlyAxisOperation.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutOnlyAxisOperation.java?rev=758172&r1=758171&r2=758172&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutOnlyAxisOperation.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutOnlyAxisOperation.java Wed Mar 25 08:20:57 2009
@@ -265,10 +265,10 @@
OperationContext oc = sc.createOperationContext(axisOp);
oc.addMessageContext(mc);
- // ship it out
- if (!block) {
- mc.setProperty(MessageContext.TRANSPORT_NON_BLOCKING, Boolean.TRUE);
- }
+ // here we should not set it as NON bloking. if needed then user can do
+ // it. if all the senders invoke in a different threads then it causes
+ // a performance problem when using a MultiThreadedHttpConnectionManager
+
AxisEngine.send(mc);
// all done
completed = true;