diff options
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.x/itest/jms/src/main/resources/simple/mpclient.composite | 8 | ||||
-rw-r--r-- | branches/sca-java-1.x/itest/jms/src/main/resources/simple/mpservice.composite | 36 |
2 files changed, 40 insertions, 4 deletions
diff --git a/branches/sca-java-1.x/itest/jms/src/main/resources/simple/mpclient.composite b/branches/sca-java-1.x/itest/jms/src/main/resources/simple/mpclient.composite index 69c0ef305e..5389c427dc 100644 --- a/branches/sca-java-1.x/itest/jms/src/main/resources/simple/mpclient.composite +++ b/branches/sca-java-1.x/itest/jms/src/main/resources/simple/mpclient.composite @@ -20,17 +20,17 @@ <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
name="MPClientComposite">
- <component name="HelloWorldClient">
+ <component name="HelloWorldClientMP">
<implementation.java class="org.apache.tuscany.sca.binding.jms.HelloWorldClientImpl"/>
<reference name="serviceA" />
</component>
- <reference name="serviceA" promote="HelloWorldClient/serviceA">
+ <reference name="serviceMP" promote="HelloWorldClientMP/serviceA">
<interface.java interface="org.apache.tuscany.sca.binding.jms.HelloWorldService" />
<binding.jms messageProcessor="org.apache.tuscany.sca.binding.jms.TestMessageProcessor">
- <destination name="DestQueueA"/>
+ <destination name="DestQueueMP"/>
<response>
- <destination name="RespQueueA"/>
+ <destination name="RespQueueMP"/>
</response>
</binding.jms>
</reference>
diff --git a/branches/sca-java-1.x/itest/jms/src/main/resources/simple/mpservice.composite b/branches/sca-java-1.x/itest/jms/src/main/resources/simple/mpservice.composite new file mode 100644 index 0000000000..6d0d11f4b6 --- /dev/null +++ b/branches/sca-java-1.x/itest/jms/src/main/resources/simple/mpservice.composite @@ -0,0 +1,36 @@ +<?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. + --> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + name="MPServiceComposite"> + + <component name="HelloWorldServiceMP"> + <implementation.java class="org.apache.tuscany.sca.binding.jms.HelloWorldServiceImpl"/> + <service name="HelloWorldService"> + <binding.jms messageProcessor="org.apache.tuscany.sca.binding.jms.TestMessageProcessor"> + <destination name="DestQueueMP" create="always"> + </destination> + <response> + <destination name="RespQueueMP" create="always"/> + </response> + </binding.jms> + </service> + </component> + +</composite> |