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:08:30 UTC

[jira] Created: (TUSCANY-2991) SCA runtime should throw an exception when responseConnect and element both defined.

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.