Sandesha2 in handler is called twice
------------------------------------

                 Key: AXIS2C-545
                 URL: https://issues.apache.org/jira/browse/AXIS2C-545
             Project: Axis2-C
          Issue Type: Bug
            Reporter: Damitha Kumarage


In RM 1.0 two way single channel scenario when it come to mep_client's 
engine_two_way_send function's engine_receive call the 
sandesha2_global_in_handler is already visited. So when engine_receive is 
called sandesha2_global_in_handler will be called twice. RM 1. 0 two way single 
channel implementation is a hack in sandesha2c to allow to do two way messaging 
in a single channel in RM. As a result this kind of unexpected difficulties 
arise. As a solution I can set a property  SANDESHA2_HANDLER_ALREADY_VISITED in 
axis2_msg_ctx  when the global in handler is visited once. So I can check this 
property from global_in_handler when it is visted again in the same response 
channel. To do that I need to do a small change
in mep_client.c The changes is that I need to get the property map from msg_ctx 
and set it in response.
If anybody see a better solution please let me know.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to