You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <de...@tuscany.apache.org> on 2011/08/20 09:53:27 UTC

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

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

ant elder closed TUSCANY-2991.
------------------------------

    Resolution: Fixed

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira