Author: damitha
Date: Thu Nov 27 22:00:13 2008
New Revision: 721348
URL: http://svn.apache.org/viewvc?rev=721348&view=rev
Log:
Add log messages whenever sleep
Modified:
webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.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=721348&r1=721347&r2=721348&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c Thu Nov 27 22:00:13 2008
@@ -2355,6 +2355,8 @@
status = AXIS2_FAILURE;
break;
}
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Sleep before resending application message");
AXIS2_SLEEP(retrans_interval);
if(transport_sender)
@@ -2598,6 +2600,8 @@
sender_bean = sandesha2_sender_mgr_find_unique(sender_mgr, env, find_sender_bean);
if(sender_bean)
{
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Sleep before resending application message");
AXIS2_SLEEP(retrans_interval);
}
}
@@ -3060,6 +3064,8 @@
{
rms_sequence_bean = sandesha2_seq_property_mgr_retrieve(seq_prop_mgr, env,
internal_sequence_id, SANDESHA2_SEQUENCE_PROPERTY_RMS_SEQ_ID);
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Create sequence response has not yet arrived. So sleep");
AXIS2_SLEEP(1);
}
@@ -3198,6 +3204,8 @@
{
rms_sequence_bean = sandesha2_seq_property_mgr_retrieve(seq_prop_mgr, env,
internal_sequence_id, SANDESHA2_SEQUENCE_PROPERTY_RMS_SEQ_ID);
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Create sequence response has not yet arrived. So sleep");
AXIS2_SLEEP(1);
}
@@ -3316,6 +3324,8 @@
break;
}
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Sleep before resending application message");
AXIS2_SLEEP(retrans_interval);
/* This is neccessary to avoid a double free */
@@ -3574,6 +3584,8 @@
rms_sequence_bean = sandesha2_seq_property_mgr_retrieve(seq_prop_mgr, env,
internal_sequence_id, SANDESHA2_SEQUENCE_PROPERTY_RMS_SEQ_ID);
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Create sequence response has not yet arrived. So sleep");
AXIS2_SLEEP(1);
}
@@ -3677,6 +3689,8 @@
internal_sequence_id, msg_id);
if(sender_bean)
{
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Sleep before resending application message");
AXIS2_SLEEP(retrans_interval);
}
if(!sender_bean)
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.