You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Ku Jun Guo (JIRA)" <de...@tuscany.apache.org> on 2009/04/27 12:06:30 UTC

[jira] Created: (TUSCANY-2990) SCA runtime should throw an exception when requestConnect and corresponding elements both defined.

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.