You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by as...@apache.org on 2006/06/19 10:47:17 UTC
svn commit: r415261 - in /incubator/synapse/trunk/java:
modules/core/src/org/apache/synapse/core/axis2/
modules/core/src/org/apache/synapse/mediators/filters/ repository/conf/
Author: asankha
Date: Mon Jun 19 01:47:17 2006
New Revision: 415261
URL: http://svn.apache.org/viewvc?rev=415261&view=rev
Log:
Fix minor spelling mistakes
Fix defect in FlexibleMEPClient for JMS
Enhance axis2.xml for http server changes
Modified:
incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/core/axis2/Axis2FlexibleMEPClient.java
incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/mediators/filters/InMediator.java
incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/mediators/filters/OutMediator.java
incubator/synapse/trunk/java/repository/conf/axis2.xml
Modified: incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/core/axis2/Axis2FlexibleMEPClient.java
URL: http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/core/axis2/Axis2FlexibleMEPClient.java?rev=415261&r1=415260&r2=415261&view=diff
==============================================================================
--- incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/core/axis2/Axis2FlexibleMEPClient.java (original)
+++ incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/core/axis2/Axis2FlexibleMEPClient.java Mon Jun 19 01:47:17 2006
@@ -72,6 +72,8 @@
Policy wsRMPolicy,
MessageContext axisMsgCtx) throws AxisFault {
+ TransportOutDescription savedTransportOut = axisMsgCtx.getTransportOut();
+
ConfigurationContext axisCfgCtx = axisMsgCtx.getConfigurationContext();
AxisConfiguration axisCfg = axisCfgCtx.getAxisConfiguration();
@@ -136,6 +138,7 @@
response.setProperty(org.apache.axis2.Constants.OUT_TRANSPORT_INFO,
axisMsgCtx.getProperty(org.apache.axis2.Constants.OUT_TRANSPORT_INFO));
response.setTransportIn(axisMsgCtx.getTransportIn());
+ response.setTransportOut(savedTransportOut);
// If request is REST assume that the response is REST too
response.setDoingREST(axisMsgCtx.isDoingREST());
Modified: incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/mediators/filters/InMediator.java
URL: http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/mediators/filters/InMediator.java?rev=415261&r1=415260&r2=415261&view=diff
==============================================================================
--- incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/mediators/filters/InMediator.java (original)
+++ incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/mediators/filters/InMediator.java Mon Jun 19 01:47:17 2006
@@ -42,7 +42,7 @@
log.debug("Current message is incoming.. executing child mediators");
return super.mediate(synCtx);
} else {
- log.debug("Current message is not incoming.. skip executing child mediators");
+ log.debug("Current message is not incoming.. skipping child mediators");
return true;
}
}
Modified: incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/mediators/filters/OutMediator.java
URL: http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/mediators/filters/OutMediator.java?rev=415261&r1=415260&r2=415261&view=diff
==============================================================================
--- incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/mediators/filters/OutMediator.java (original)
+++ incubator/synapse/trunk/java/modules/core/src/org/apache/synapse/mediators/filters/OutMediator.java Mon Jun 19 01:47:17 2006
@@ -42,7 +42,7 @@
log.debug("Current message is outgoing.. executing child mediators");
return super.mediate(synCtx);
} else {
- log.debug("Current message is not outgoing.. executing child mediators");
+ log.debug("Current message is not outgoing.. skipping child mediators");
return true;
}
}
Modified: incubator/synapse/trunk/java/repository/conf/axis2.xml
URL: http://svn.apache.org/viewvc/incubator/synapse/trunk/java/repository/conf/axis2.xml?rev=415261&r1=415260&r2=415261&view=diff
==============================================================================
--- incubator/synapse/trunk/java/repository/conf/axis2.xml (original)
+++ incubator/synapse/trunk/java/repository/conf/axis2.xml Mon Jun 19 01:47:17 2006
@@ -47,9 +47,28 @@
<transportReceiver name="http"
class="org.apache.axis2.transport.http.SimpleHTTPServer">
<parameter name="port" locked="false">6060</parameter>
- <!--If you want to give your own host address for EPR generation-->
- <!--uncommet following paramter , and set as you required.-->
- <!--<parameter name="hostname" locked="false">http://myApp.com/ws</parameter>-->
+ <!-- Here is the complete list of supported parameters (see example settings further below):
+ port: the port to listen on (default 6060)
+ hostname: if non-null, url prefix used in reply-to endpoint references (default null)
+ originServer: value of http Server header in outgoing messages (default "Simple-Server/1.1")
+ requestTimeout: value in millis of time that requests can wait for data (default 20000)
+ requestTcpNoDelay: true to maximize performance and minimize latency (default true)
+ false to minimize bandwidth consumption by combining segments
+ requestCoreThreadPoolSize: number of threads available for request processing (unless queue fills up) (default 25)
+ requestMaxThreadPoolSize: number of threads available for request processing if queue fills us (default 150)
+ note that default queue never fills up: see HttpFactory
+ threadKeepAliveTime: time to keep threads in excess of core size alive while inactive (default 180)
+ note that no such threads can exist with default unbounded request queue
+ threadKeepAliveTimeUnit: TimeUnit of value in threadKeepAliveTime (default SECONDS) (default SECONDS)
+ -->
+ <!-- <parameter name="hostname" locked="false">http://www.myApp.com/ws</parameter> -->
+ <!-- <parameter name="originServer" locked="false">My-Server/1.1</parameter> -->
+ <!-- <parameter name="requestTimeout" locked="false">10000</parameter> -->
+ <!-- <parameter name="requestTcpNoDelay" locked="false">false</parameter> -->
+ <!-- <parameter name="requestCoreThreadPoolSize" locked="false">50</parameter> -->
+ <!-- <parameter name="RequestMaxThreadPoolSize" locked="false">100</parameter> -->
+ <!-- <parameter name="threadKeepAliveTime" locked="false">240000</parameter> -->
+ <!-- <parameter name="threadKeepAliveTimeUnit" locked="false">MILLISECONDS</parameter> -->
</transportReceiver>
<transportReceiver name="tcp"
---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org