You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by da...@apache.org on 2007/12/18 18:01:48 UTC

svn commit: r605254 - in /webservices/sandesha/trunk/c/src: msgprocessors/app_msg_processor.c workers/sender_worker.c

Author: damitha
Date: Tue Dec 18 09:01:47 2007
New Revision: 605254

URL: http://svn.apache.org/viewvc?rev=605254&view=rev
Log:
Retrieveing message context from database or configuration context is wrongly calculated in sender. Fixed this

Modified:
    webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c
    webservices/sandesha/trunk/c/src/workers/sender_worker.c

Modified: webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c?rev=605254&r1=605253&r2=605254&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c Tue Dec 18 09:01:47 2007
@@ -1114,7 +1114,7 @@
             AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "Starting the server "\
                 "sequence with internal sequence id %s", internal_seq_id);
             sandesha2_seq_mgr_setup_new_client_seq(env, msg_ctx, internal_seq_id, 
-                spec_ver, seq_prop_mgr, AXIS2_FALSE);
+                spec_ver, seq_prop_mgr, AXIS2_TRUE);
         }
         else
         {
@@ -1138,7 +1138,7 @@
             AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "Starting the client "\
                 "sequence with internal sequence id %s", internal_seq_id);
             sandesha2_seq_mgr_setup_new_client_seq(env, msg_ctx, internal_seq_id, 
-                spec_ver, seq_prop_mgr, AXIS2_TRUE);
+                spec_ver, seq_prop_mgr, AXIS2_FALSE);
         }
     }
     if(send_create_seq)

Modified: webservices/sandesha/trunk/c/src/workers/sender_worker.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/workers/sender_worker.c?rev=605254&r1=605253&r2=605254&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/workers/sender_worker.c (original)
+++ webservices/sandesha/trunk/c/src/workers/sender_worker.c Tue Dec 18 09:01:47 2007
@@ -211,11 +211,15 @@
             AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, 
                 "[sandesha2]Retrieving msg_ctx from database");
             msg_ctx = sandesha2_storage_mgr_retrieve_msg_ctx(storage_mgr, env, 
-                key, conf_ctx, AXIS2_FALSE);
+                key, conf_ctx, AXIS2_TRUE);
         }
         else
+        {
+            AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, 
+                "[sandesha2]Retrieving msg_ctx from configuration context");
             msg_ctx = sandesha2_storage_mgr_retrieve_msg_ctx(storage_mgr, env, 
-                key, conf_ctx, AXIS2_TRUE);
+                key, conf_ctx, AXIS2_FALSE);
+        }
     }
     if(!msg_ctx)
     {



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