svn commit: r718932 - /webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c

[email protected]
Newsgroups gmane.comp.apache.webservices.fx.devel
Message-ID <[email protected]>
Author: damitha
Date: Wed Nov 19 03:29:45 2008
New Revision: 718932

URL: http://svn.apache.org/viewvc?rev=718932&view=rev
Log:
When retrieving message context from the database setting the mep into the service operation

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?rev=718932&r1=718931&r2=718932&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c Wed Nov 19 03:29:45 2008
@@ -374,6 +374,14 @@
         svc = axis2_conf_get_svc(conf, env, svc_name);
         if(svc)
         {
+            axis2_char_t *mep = NULL;
+            axis2_char_t *op_name = NULL;
+            axis2_op_t *op = NULL;
+
+            op_name = sandesha2_msg_store_bean_get_op(msg_store_bean, env);
+            op = axis2_svc_get_op_with_name(svc, env, op_name);
+            mep = sandesha2_msg_store_bean_get_op_mep(msg_store_bean, env);
+            axis2_op_set_msg_exchange_pattern(op, env, mep);
             axis2_msg_ctx_set_svc(msg_ctx, env, svc);
         }
     }
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.