SCA runtime should throw an exception when requestConnect and corresponding 
elements both defined.
--------------------------------------------------------------------------------------------------

                 Key: TUSCANY-2990
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2990
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA JMS Binding Extension
    Affects Versions: Java-SCA-1.3.1
            Reporter: Ku Jun Guo


As JMS bindings said,  If the @requestConnection attribute is specified, the 
binding.jms element MUST NOT also contain the corresponding elements.
But when I used following definition:
<reference name="Reference1" target="TestComponent2/Service1">
                <binding.jms requestConnection="test:TestService">
                        <destination name="MyServiceQueue" create="always"/>
                </binding.jms>
        </reference>

It failed to throw an exception, but still worked.

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

Reply via email to