diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-14 13:45:08 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-14 13:45:08 +0000 |
commit | 242db70ff4b74ba32c83d9b7b0052592294f8a31 (patch) | |
tree | 8cb7786cba031b38714f509e875b55692900ffdf /java/sca/itest/jms/oneway-nocf/src/main/resources | |
parent | c3d47005c56765f21c425ed1260e98f38fe4684a (diff) |
Start bringing up the oneway-nocf itest
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814640 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
3 files changed, 32 insertions, 6 deletions
diff --git a/java/sca/itest/jms/oneway-nocf/src/main/resources/META-INF/sca-contribution.xml b/java/sca/itest/jms/oneway-nocf/src/main/resources/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..360b365d1b --- /dev/null +++ b/java/sca/itest/jms/oneway-nocf/src/main/resources/META-INF/sca-contribution.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
+ xmlns:itest="http://itest">
+ <deployable composite="itest:OneWayServiceComposite"/>
+ <deployable composite="itest:OneWayClientComposite"/>
+</contribution>
\ No newline at end of file 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 ec7b19ff98..ee788ee251 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 @@ -17,7 +17,8 @@ * specific language governing permissions and limitations
* under the License.
-->
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
+ targetNamespace="http://itest"
name="OneWayClientComposite">
<component name="OneWayClient">
@@ -28,8 +29,8 @@ <reference name="serviceA" promote="OneWayClient/serviceA">
<interface.java interface="org.apache.tuscany.sca.binding.jms.OneWayService" />
<binding.jms>
- <connectionFactory name="SomeConnectionFactory"/>
- <destination name="SomeQueue"/>
+ <destination jndiName="SomeQueue"/>
+ <connectionFactory jndiName="SomeConnectionFactory"/>
</binding.jms>
</reference>
diff --git a/java/sca/itest/jms/oneway-nocf/src/main/resources/oneway/OneWayService.composite b/java/sca/itest/jms/oneway-nocf/src/main/resources/oneway/OneWayService.composite index dff7d0c77f..5412a1d6e0 100644 --- a/java/sca/itest/jms/oneway-nocf/src/main/resources/oneway/OneWayService.composite +++ b/java/sca/itest/jms/oneway-nocf/src/main/resources/oneway/OneWayService.composite @@ -17,15 +17,16 @@ * specific language governing permissions and limitations
* under the License.
-->
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
+ targetNamespace="http://itest"
name="OneWayServiceComposite">
<component name="OneWayService">
<implementation.java class="org.apache.tuscany.sca.binding.jms.OneWayServiceImpl"/>
<service name="OneWayService">
<binding.jms>
- <connectionFactory name="SomeConnectionFactory"/>
- <destination name="SomeQueue"/>
+ <destination jndiName="SomeQueue"/>
+ <connectionFactory jndiName="SomeConnectionFactory"/>
</binding.jms>
</service>
</component>
|