You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Dan Becker (JIRA)" <de...@tuscany.apache.org> on 2009/01/26 16:11:59 UTC

[jira] Resolved: (TUSCANY-2583) only first method's parameter is send in JMS Message

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

Dan Becker resolved TUSCANY-2583.
---------------------------------

    Resolution: Fixed

As stated by Ant, the issue has been fixed and now all message parameters are sent in the message body. (Spec compliance is another issue which should be addressed in another Jira.)

> only first method's parameter is send in JMS Message
> ----------------------------------------------------
>
>                 Key: TUSCANY-2583
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2583
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA JMS Binding Extension
>    Affects Versions: Java-SCA-1.3
>            Reporter: Gaetan RUAULT
>            Assignee: ant elder
>             Fix For: Java-SCA-Next
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> The JMS provider generate only the first parameter of the service call 
> example :
> for a jms interface service like this : 
> package personne.stub;
> import org.osoa.sca.annotations.Remotable;
> @Remotable
> public interface TestJMSService {
> 	int add(Integer x, Integer y);
> 	int subtract(Integer x, Integer y);
> }
> with call like this : testJMSService.add(1,6)
> the XMLTextMessageProcessor class generate this body for the JMS Message :
> <arg0 xmlns:ns2="http://stub.personne/">1</arg0>
> but il would generated :
> <arg0 xmlns:ns2="http://stub.personne/">1</arg0>
> <arg1 xmlns:ns2="http://stub.personne/">6</arg1>
> this problem appear in the method createJMSMessage of org.apache.tuscany.sca.binding.jms.provider.XMLTextMessageProcessor class.
> only the first element of the array is set for body text.

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