You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by da...@apache.org on 2007/02/20 13:16:35 UTC

svn commit: r509531 - in /webservices/sandesha/trunk/c: config/module.xml src/util/terminate_mgr.c

Author: damitha
Date: Tue Feb 20 04:16:34 2007
New Revision: 509531

URL: http://svn.apache.org/viewvc?view=rev&rev=509531
Log:
Now sequences are cleaned properly in single channel two-way both
in RM1.0 and RM1.1

Modified:
    webservices/sandesha/trunk/c/config/module.xml
    webservices/sandesha/trunk/c/src/util/terminate_mgr.c

Modified: webservices/sandesha/trunk/c/config/module.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/config/module.xml?view=diff&rev=509531&r1=509530&r2=509531
==============================================================================
--- webservices/sandesha/trunk/c/config/module.xml (original)
+++ webservices/sandesha/trunk/c/config/module.xml Tue Feb 20 04:16:34 2007
@@ -68,7 +68,7 @@
     </operation>
 
    <!-- Database connection parameters -->
-    <parameter name="sandesha2_db" locked="false">/tmp</parameter>
+    <parameter name="sandesha2_db" locked="false">/axis2c/deploy</parameter>
    <!-- General parameters -->
     <parameter name="ExponentialBackoff" locked="false">AXIS2_TRUE</parameter>
     <parameter name="RetransmissionInterval" locked="false">20000</parameter>

Modified: webservices/sandesha/trunk/c/src/util/terminate_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/util/terminate_mgr.c?view=diff&rev=509531&r1=509530&r2=509531
==============================================================================
--- webservices/sandesha/trunk/c/src/util/terminate_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/util/terminate_mgr.c Tue Feb 20 04:16:34 2007
@@ -216,6 +216,7 @@
     sandesha2_next_msg_bean_t *find_bean = NULL;
     axis2_array_list_t *found_list = NULL;
     axis2_char_t *highest_in_msg_key = NULL;
+    int i = 0, size = 0;
     
     AXIS2_LOG_INFO(env->log, 
         "[sandesha2]Entry:sandesha2_terminate_mgr_complete_termination_of_recv_side");
@@ -229,7 +230,7 @@
     sandesha2_next_msg_bean_set_seq_id(find_bean, env, seq_id);
     
     found_list = sandesha2_next_msg_mgr_find(next_mgr, env, find_bean);
-    /*if(found_list)
+    if(found_list)
         size = AXIS2_ARRAY_LIST_SIZE(found_list, env);
     for(i = 0; i < size; i++)
     {
@@ -249,7 +250,7 @@
             if(seq_id)
                 sandesha2_next_msg_mgr_remove(next_mgr, env, seq_id);
         }
-    }*/
+    }
     highest_in_msg_key = sandesha2_utils_get_seq_property(env, seq_id,
         SANDESHA2_SEQ_PROP_HIGHEST_IN_MSG_KEY, storage_mgr);
     if(highest_in_msg_key)



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org