You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <de...@tuscany.apache.org> on 2009/02/03 11:07:59 UTC
[jira] Commented: (TUSCANY-2799) jmsObject wireFormat always
returning Object[] over service response
[ https://issues.apache.org/jira/browse/TUSCANY-2799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669912#action_12669912 ]
Simon Laws commented on TUSCANY-2799:
-------------------------------------
Hi
I took a look a the JMS code and pinged Ant offline about it. Consensus is there doesn't seem to be a good reason that the return param is wrapped in an array. I'll have a go a some re factoring to remove this wrapping.
Simon
> jmsObject wireFormat always returning Object[] over service response
> --------------------------------------------------------------------
>
> Key: TUSCANY-2799
> URL: https://issues.apache.org/jira/browse/TUSCANY-2799
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA JMS Binding Extension
> Reporter: Scott Kurz
>
> I wanted to note the problem before having time to think through all the issues and code points we need to sort through.
> To start note that WireFormatJMSObjectServiceInterceptor.invokeResponse() does:
> ...
> Object[] response = {msg.getBody()};
> But if my service interface is returning a non-array type like a simple String, it seems more natural to return a single return value rather than an array here.
> Not sure where any OASIS specs or discussions of this issue stand at the moment...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.