[ 
https://issues.apache.org/jira/browse/SANDESHA2-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Lovett resolved SANDESHA2-55.
----------------------------------

    Resolution: Fixed

> pass options to responseMessageContext
> --------------------------------------
>
>                 Key: SANDESHA2-55
>                 URL: https://issues.apache.org/jira/browse/SANDESHA2-55
>             Project: Sandesha2
>          Issue Type: Bug
>            Reporter: Takahide Nogayama
>         Assigned To: Matt Lovett
>            Priority: Critical
>         Attachments: patch3.txt, patch3copied.txt
>
>
> org.apache.sandesha2.workers.SenderWorker.checkForSyncResponses(MessageContext
>  msgCtx) creates responseMessageContext and set some information from input 
> argument messagecontext to responseMessageContext. I think that 
> MessageContext.options should also be set to responseMessageContext. In 
> current implementation, it is discarded.
> We can see similar case in 
> org.apache.axis2.description.OutInAxisOperation.send(MessageContext msgctx). 
> And the fix code is from here.
> -current------------------------------------------------------------------------------------------
> // create the responseMessageContext
> MessageContext responseMessageContext = new MessageContext();
> ------------------------------------------------------------------------------------------------------
> -fix-----------------------------------------------------------------------------------------------------
> // create the responseMessageContext
> MessageContext responseMessageContext = new MessageContext();
> responseMessageContext.setOptions(msgCtx.getOptions());   // set options.
> ------------------------------------------------------------------------------------------------------

-- 
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