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/01/11 06:27:22 UTC
svn commit: r495125 [4/4] - in /webservices/sandesha/trunk/c: include/
samples/rm_echo/ src/client/ src/handlers/ src/msgprocessors/ src/storage/
src/storage/beans/ src/storage/inmemory/ src/storage/permanent/ src/util/
src/workers/ src/wsrm/
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?view=diff&rev=495125&r1=495124&r2=495125
==============================================================================
--- webservices/sandesha/trunk/c/src/workers/sender_worker.c (original)
+++ webservices/sandesha/trunk/c/src/workers/sender_worker.c Wed Jan 10 21:27:18 2007
@@ -239,7 +239,6 @@
sender_worker_bean = sandesha2_sender_mgr_retrieve(sender_mgr, env, msg_id);
if(!sender_worker_bean)
{
- printf("rollback6\n");
sandesha2_transaction_rollback(transaction, env);
return NULL;
}
@@ -249,7 +248,6 @@
sender_worker->conf_ctx);
if(!msg_ctx)
{
- printf("rollback7\n");
sandesha2_transaction_rollback(transaction, env);
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "[sandesha2] msg_ctx is "
"not present in the store");
@@ -270,7 +268,6 @@
sender_worker_bean, sender_worker->conf_ctx, storage_mgr);
if(!continue_sending)
{
- printf("rollback8\n");
sandesha2_transaction_rollback(transaction, env);
AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Do not continue sending the message");
@@ -284,7 +281,6 @@
if(qualified_for_sending && 0 != AXIS2_STRCMP(
qualified_for_sending, SANDESHA2_VALUE_TRUE))
{
- printf("rollback9\n");
sandesha2_transaction_rollback(transaction, env);
AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Message is not qualified for sending");
@@ -316,7 +312,6 @@
}
if(continue_sending)
{
- printf("rollback10\n");
sandesha2_transaction_rollback(transaction, env);
AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Continue "\
"Sending is true. So returning from Sender Worker");
@@ -354,7 +349,6 @@
transport_sender = AXIS2_TRANSPORT_OUT_DESC_GET_SENDER(transport_out, env);
if(transport_sender)
{
- printf("came5\n");
sandesha2_transaction_commit(transaction, env);
property = AXIS2_MSG_CTX_GET_PROPERTY(msg_ctx, env,
SANDESHA2_WITHIN_TRANSACTION, AXIS2_FALSE);
@@ -376,7 +370,6 @@
sleep(300000);*/
}
- printf("came13\n");
transaction = sandesha2_storage_mgr_get_transaction(storage_mgr,
env);
property = AXIS2_MSG_CTX_GET_PROPERTY(msg_ctx, env,
@@ -479,7 +472,6 @@
/* TODO make transaction handling effective */
if(transaction)
{
- printf("came6\n");
sandesha2_transaction_commit(transaction, env);
}
#ifdef AXIS2_SVR_MULTI_THREADED
Modified: webservices/sandesha/trunk/c/src/wsrm/seq_offer.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/wsrm/seq_offer.c?view=diff&rev=495125&r1=495124&r2=495125
==============================================================================
--- webservices/sandesha/trunk/c/src/wsrm/seq_offer.c (original)
+++ webservices/sandesha/trunk/c/src/wsrm/seq_offer.c Wed Jan 10 21:27:18 2007
@@ -16,7 +16,6 @@
#include <sandesha2_seq_offer.h>
#include <sandesha2_constants.h>
-#include <sandesha2_iom_rm_element.h>
/**
* @brief SequenceOffer struct impl
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org