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 2008/08/13 18:02:41 UTC
svn commit: r685595 -
/webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/src/util/msg_creator.c
Author: damitha
Date: Wed Aug 13 09:02:40 2008
New Revision: 685595
URL: http://svn.apache.org/viewvc?rev=685595&view=rev
Log:
In dual channel create sequence message send acks_to epr as anonymous. Fixed this to have reply to epr
Modified:
webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/src/util/msg_creator.c
Modified: webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/src/util/msg_creator.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/src/util/msg_creator.c?rev=685595&r1=685594&r2=685595&view=diff
==============================================================================
--- webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/src/util/msg_creator.c (original)
+++ webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/src/util/msg_creator.c Wed Aug 13 09:02:40 2008
@@ -230,18 +230,17 @@
}
anonymous_uri = sandesha2_spec_specific_consts_get_anon_uri(env, addressing_ns_value);
- if(!acks_to || !axutil_strcmp("", acks_to))
- {
- acks_to = axutil_strdup(env, anonymous_uri);
- }
- acks_to_epr = axis2_endpoint_ref_create(env, acks_to);
if(reply_to_bean)
{
axis2_endpoint_ref_t *reply_to_epr = NULL;
temp_value = sandesha2_seq_property_bean_get_value(reply_to_bean, env);
- AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "dam_reply_to:%s", temp_value);
- reply_to_epr = axis2_endpoint_ref_create(env, temp_value);
+ if(temp_value)
+ {
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "dam_reply_to:%s", temp_value);
+ reply_to_epr = axis2_endpoint_ref_create(env, temp_value);
+ acks_to = axutil_strdup(env, temp_value);
+ }
if(reply_to_epr)
{
@@ -250,6 +249,13 @@
sandesha2_seq_property_bean_free(reply_to_bean, env);
}
+
+ if(!acks_to || !axutil_strcmp("", acks_to))
+ {
+ acks_to = axutil_strdup(env, anonymous_uri);
+ }
+
+ acks_to_epr = axis2_endpoint_ref_create(env, acks_to);
temp_to = sandesha2_msg_ctx_get_to(create_seq_rm_msg, env);
if(!temp_to && to_epr)
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org