[ 
http://jira.codehaus.org/browse/XFIRE-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94815
 ] 

Tom Lambrechts commented on XFIRE-939:
--------------------------------------

Fixed in trunk.
T.

> XFireClientFactoryBean generates ClassCastException on return value
> -------------------------------------------------------------------
>
>                 Key: XFIRE-939
>                 URL: http://jira.codehaus.org/browse/XFIRE-939
>             Project: XFire
>          Issue Type: Bug
>          Components: JMS
>         Environment: Trunk
>            Reporter: Tom Lambrechts
>            Assignee: Dan Diephouse
>         Attachments: CorrelatorHandler.java
>
>   Original Estimate: 10 minutes
>  Remaining Estimate: 10 minutes
>
> Unlike HTTP a new context is generated on the return jms message. The context 
> of the return message correlated to the original context by the 
> CorrelatorHandler.
> The CorrelatorHandler copies operation and outmessage from request to result 
> context.
> The client mode is not copied and the outmessage is used as return value 
> instead of the invMessage.
> Patch for this bug: 
>         if (context != invocation.getContext())
>         {
>             
> context.getExchange().setOperation(invocation.getContext().getExchange().getOperation());
>             
> context.getExchange().setOutMessage(invocation.getContext().getExchange().getOutMessage());
>             //TODO: bug fix client mode should be coppied
>             context.setProperty(Client.CLIENT_MODE, 
> invocation.getContext().getProperty(Client.CLIENT_MODE));
>         }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to