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/04/29 08:34:16 UTC
svn commit: r533470 -
/webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c
Author: damitha
Date: Sat Apr 28 23:34:16 2007
New Revision: 533470
URL: http://svn.apache.org/viewvc?view=rev&rev=533470
Log:
cleaned the sqlite code
Modified:
webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c
Modified: webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c?view=diff&rev=533470&r1=533469&r2=533470
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c Sat Apr 28 23:34:16 2007
@@ -70,7 +70,6 @@
sandesha2_invoker_mgr_t *invoker_mgr;
axis2_conf_ctx_t *conf_ctx;
axis2_char_t *db_name;
- /*sqlite3 *db;*/
axutil_hash_t *transactions;
sandesha2_permanent_bean_mgr_t *bean_mgr;
axutil_hash_t *msg_ctx_map;
@@ -737,19 +736,10 @@
address = (axis2_char_t *) axis2_endpoint_ref_get_address(reply_to, env);
sandesha2_msg_store_bean_set_reply_to(bean, env, address);
}
- /*property = axis2_msg_ctx_get_property(msg_ctx, env, AXIS2_TRANSPORT_URL,
- AXIS2_FALSE);
- if(property)
-
- {
+ axis2_char_t *transport_to = NULL;
+ transport_to = axis2_msg_ctx_get_transport_url(msg_ctx, env);
+ if(transport_to)
sandesha2_msg_store_bean_set_transport_to(bean, env, transport_to);
- }*/
- {
- axis2_char_t *transport_to = NULL;
- transport_to = axis2_msg_ctx_get_transport_url(msg_ctx, env);
- if(transport_to)
- sandesha2_msg_store_bean_set_transport_to(bean, env, transport_to);
- }
options = (axis2_options_t *) axis2_msg_ctx_get_options(msg_ctx, env);
action = (axis2_char_t *) axis2_options_get_action(options, env);
@@ -863,9 +853,6 @@
axis2_msg_ctx_set_soap_envelope(msg_ctx, env, soap_envelope);
axis2_msg_ctx_set_msg_id(msg_ctx, env, sandesha2_msg_store_bean_get_msg_id(
msg_store_bean, env));
- /* You cannot set the same message id to a new message context again. So generate
- * a new message id and set it
- * axis2_msg_ctx_set_msg_id(msg_ctx, env, axutil_uuid_gen(env));*/
conf = axis2_conf_ctx_get_conf(conf_ctx, env);
transport_out = sandesha2_msg_store_bean_get_transport_out(msg_store_bean,
@@ -980,9 +967,7 @@
axis2_char_t *msg_id = NULL;
axis2_op_ctx_set_parent(op_ctx, env, svc_ctx);
axis2_msg_ctx_set_op_ctx(msg_ctx, env, op_ctx);
- /* axis2_op_ctx_add_msg_ctx(op_ctx, env, msg_ctx);*/
msg_id = (axis2_char_t *) axis2_msg_ctx_get_msg_id(msg_ctx, env);
- /*axis2_conf_ctx_register_op_ctx(conf_ctx, env, msg_id, op_ctx);*/
}
axutil_allocator_switch_to_local_pool(env->allocator);
}
@@ -994,9 +979,6 @@
env);
if(transport_to_str)
{
- /*property = axutil_property_create_with_args(env, 0, 0, 0, transport_to_str);
- axis2_msg_ctx_set_property(msg_ctx, env, AXIS2_TRANSPORT_URL, property,
- AXIS2_FALSE);*/
axis2_msg_ctx_set_transport_url(msg_ctx, env, transport_to_str);
}
to_url_str = sandesha2_msg_store_bean_get_to_url(msg_store_bean, env);
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org