SCA runtime should throw an exception when responseConnect and <response> 
element  both defined.
------------------------------------------------------------------------------------------------

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


The following definition can work well, but it should throw an exception as 
spec.

"If the @responseConnection attribute is specified, the binding.jms element 
MUST NOT contain a response element"

<reference name="Reference1" target="TestComponent2/Service1">
                <binding.jms uri="jms:DestQueueA" 
responseConnection="test:TestService">
                        <response>
                                <destination jndiName="DestQueueB" type="queue" 
create="always"/>
                        </response>
                </binding.jms>
        </reference>

-- 
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