You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by ru...@apache.org on 2009/03/04 18:32:49 UTC

svn commit: r750086 - /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java

Author: ruwan
Date: Wed Mar  4 17:32:47 2009
New Revision: 750086

URL: http://svn.apache.org/viewvc?rev=750086&view=rev
Log:
minor reformatting and removing the todo phrase - I don't think the callback store is required to be stored in the ServerManager

Modified:
    synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java

Modified: synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java?rev=750086&r1=750085&r2=750086&view=diff
==============================================================================
--- synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java (original)
+++ synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java Wed Mar  4 17:32:47 2009
@@ -33,7 +33,6 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.synapse.FaultHandler;
-import org.apache.synapse.ServerManager;
 import org.apache.synapse.SynapseConstants;
 import org.apache.synapse.SynapseException;
 import org.apache.synapse.audit.AuditConfigurable;
@@ -70,8 +69,6 @@
     public SynapseCallbackReceiver(SynapseConfiguration synCfg) {
 
         callbackStore = Collections.synchronizedMap(new HashMap<String, AxisCallback>());
-        // TODO if this need , where to set . may be separate MBean if need to manage this
-//        ServerManager.getInstance().setCallbackStore(callbackStore);
 
         // create the Timer object and a TimeoutHandler task
         TimeoutHandler timeoutHandler = new TimeoutHandler(callbackStore);
@@ -266,7 +263,7 @@
             }
 
             // when axis2 receives a soap message without addressing headers it users
-            // DISABLE_ADDRESSING_FOR_OUT_MESSAGES property to keep it and hence avoid addressing
+            // ESSING_FOR_OUT_MESSAGES property to keep it and hence avoid addressing
             // headers on the response. this causes a problem for synapse if the original message
             // it receivs (from client) has addressing and the synaspse service invocation has not
             // engage addressing. in this case when synapse receives the response from the server