diff options
Diffstat (limited to 'java/sca/itest/jms/oneway-nocf/src/main/resources/oneway/OneWayClient.composite')
-rw-r--r-- | java/sca/itest/jms/oneway-nocf/src/main/resources/oneway/OneWayClient.composite | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/java/sca/itest/jms/oneway-nocf/src/main/resources/oneway/OneWayClient.composite b/java/sca/itest/jms/oneway-nocf/src/main/resources/oneway/OneWayClient.composite index ee788ee251..70a106bf06 100644 --- a/java/sca/itest/jms/oneway-nocf/src/main/resources/oneway/OneWayClient.composite +++ b/java/sca/itest/jms/oneway-nocf/src/main/resources/oneway/OneWayClient.composite @@ -23,15 +23,13 @@ <component name="OneWayClient">
<implementation.java class="org.apache.tuscany.sca.binding.jms.OneWayClientImpl"/>
- <reference name="serviceA" />
+ <reference name="serviceA">
+ <interface.java interface="org.apache.tuscany.sca.binding.jms.OneWayService" />
+ <binding.jms>
+ <destination jndiName="SomeQueue"/>
+ <connectionFactory jndiName="SomeConnectionFactory"/>
+ </binding.jms>
+ </reference>
</component>
- <reference name="serviceA" promote="OneWayClient/serviceA">
- <interface.java interface="org.apache.tuscany.sca.binding.jms.OneWayService" />
- <binding.jms>
- <destination jndiName="SomeQueue"/>
- <connectionFactory jndiName="SomeConnectionFactory"/>
- </binding.jms>
- </reference>
-
</composite>
|