Return-Path: Delivered-To: apmail-ws-sandesha-dev-archive@www.apache.org Received: (qmail 76541 invoked from network); 6 Oct 2008 14:29:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Oct 2008 14:29:30 -0000 Received: (qmail 89093 invoked by uid 500); 6 Oct 2008 14:29:29 -0000 Delivered-To: apmail-ws-sandesha-dev-archive@ws.apache.org Received: (qmail 89018 invoked by uid 500); 6 Oct 2008 14:29:29 -0000 Mailing-List: contact sandesha-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list sandesha-dev@ws.apache.org Received: (qmail 89007 invoked by uid 500); 6 Oct 2008 14:29:29 -0000 Delivered-To: apmail-ws-sandesha-cvs@ws.apache.org Received: (qmail 89004 invoked by uid 99); 6 Oct 2008 14:29:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 07:29:29 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 14:28:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 988E023888D5; Mon, 6 Oct 2008 07:29:09 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r702161 - in /webservices/sandesha/trunk/c/src: handlers/sandesha2_global_in_handler.c handlers/sandesha2_in_handler.c handlers/sandesha2_out_handler.c msgprocessors/ack_msg_processor.c msgprocessors/app_msg_processor.c Date: Mon, 06 Oct 2008 14:29:09 -0000 To: sandesha-cvs@ws.apache.org From: damitha@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081006142909.988E023888D5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: damitha Date: Mon Oct 6 07:29:08 2008 New Revision: 702161 URL: http://svn.apache.org/viewvc?rev=702161&view=rev Log: Adding log message to places where message context is paused Modified: webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c webservices/sandesha/trunk/c/src/msgprocessors/ack_msg_processor.c webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c Modified: webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c?rev=702161&r1=702160&r2=702161&view=diff ============================================================================== --- webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c (original) +++ webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c Mon Oct 6 07:29:08 2008 @@ -260,6 +260,7 @@ { /* TODO we need to notify the listeners */ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "[sandesha2] soap fault generated"); + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Pausing message context"); axis2_msg_ctx_set_paused(msg_ctx, env, AXIS2_TRUE); return AXIS2_SUCCESS; } Modified: webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c?rev=702161&r1=702160&r2=702161&view=diff ============================================================================== --- webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c (original) +++ webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c Mon Oct 6 07:29:08 2008 @@ -455,6 +455,7 @@ } if(drop) { + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Pausing message context"); sandesha2_msg_ctx_set_paused(rm_msg_ctx, env, AXIS2_TRUE); return AXIS2_TRUE; } Modified: webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c?rev=702161&r1=702160&r2=702161&view=diff ============================================================================== --- webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c (original) +++ webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c Mon Oct 6 07:29:08 2008 @@ -211,6 +211,7 @@ { /* Message should not be sent in an exception situation */ + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Pausing message context"); axis2_msg_ctx_set_paused(msg_ctx, env, AXIS2_TRUE); if(rm_msg_ctx) { Modified: webservices/sandesha/trunk/c/src/msgprocessors/ack_msg_processor.c URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/ack_msg_processor.c?rev=702161&r1=702160&r2=702161&view=diff ============================================================================== --- webservices/sandesha/trunk/c/src/msgprocessors/ack_msg_processor.c (original) +++ webservices/sandesha/trunk/c/src/msgprocessors/ack_msg_processor.c Mon Oct 6 07:29:08 2008 @@ -248,6 +248,7 @@ engine = axis2_engine_create(env, conf_ctx); axis2_engine_send_fault(engine, env, sandesha2_msg_ctx_get_msg_ctx(fault_msg_ctx, env)); + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Pausing message context"); axis2_msg_ctx_set_paused(msg_ctx, env, AXIS2_TRUE); sandesha2_msg_ctx_free(fault_msg_ctx, env); if(engine) @@ -265,6 +266,7 @@ "[sandesha2] sandesha2_ack_msg_processor_process_in_msg send Fault"); engine = axis2_engine_create(env, conf_ctx); axis2_engine_send_fault(engine, env, sandesha2_msg_ctx_get_msg_ctx(fault_msg_ctx, env)); + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Pausing message context"); axis2_msg_ctx_set_paused(msg_ctx, env, AXIS2_TRUE); sandesha2_msg_ctx_free(fault_msg_ctx, env); @@ -578,6 +580,7 @@ children_iterator = axiom_element_get_children(body_element, env, body_node); if(!axiom_children_iterator_has_next(children_iterator, env)) { + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Pausing message context"); sandesha2_msg_ctx_set_paused(rm_msg_ctx, env, AXIS2_TRUE); } /* Do we need to pause the message context here */ 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=702161&r1=702160&r2=702161&view=diff ============================================================================== --- webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c (original) +++ webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c Mon Oct 6 07:29:08 2008 @@ -391,6 +391,8 @@ { axis2_engine_free(engine, env); } + + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Pausing message context"); axis2_msg_ctx_set_paused(app_msg_ctx, env, AXIS2_TRUE); if(storage_mgr) { @@ -466,6 +468,8 @@ { axis2_engine_free(engine, env); } + + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Pausing message context"); axis2_msg_ctx_set_paused(app_msg_ctx, env, AXIS2_TRUE); return AXIS2_SUCCESS; @@ -519,6 +523,7 @@ axis2_engine_free(engine, env); } + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Pausing message context"); axis2_msg_ctx_set_paused(app_msg_ctx, env, AXIS2_TRUE); return AXIS2_SUCCESS; @@ -676,6 +681,7 @@ if(msg_no_present_in_list && !axutil_strcmp(SANDESHA2_QOS_DEFAULT_INVOCATION_TYPE, SANDESHA2_QOS_EXACTLY_ONCE)) { + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Pausing message context"); sandesha2_msg_ctx_set_paused(rm_msg_ctx, env, AXIS2_TRUE); } @@ -778,6 +784,7 @@ sandesha2_app_msg_processor_send_ack_if_reqd(env, rm_msg_ctx, msgs_str, rmd_sequence_id, storage_mgr, sender_mgr, seq_prop_mgr, mep); + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Pausing message context"); sandesha2_msg_ctx_set_paused(rm_msg_ctx, env, AXIS2_TRUE); if(seq_prop_mgr) @@ -900,6 +907,7 @@ /* To avoid performing application processing more than once. */ sandesha2_msg_ctx_set_property(rm_msg_ctx, env, SANDESHA2_APPLICATION_PROCESSING_DONE, property); + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Pausing message context"); sandesha2_msg_ctx_set_paused(rm_msg_ctx, env, AXIS2_TRUE); /* Start the invoker if stopped */ /*sandesha2_utils_start_invoker_for_seq(env, conf_ctx, rmd_sequence_id);*/ --------------------------------------------------------------------- To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org For additional commands, e-mail: sandesha-dev-help@ws.apache.org