<?xml version="1.0" encoding="UTF-8"?>
<!--
 - Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors.
 - 
 - Licensed 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.
 -->
<switchyard xmlns="urn:switchyard-config:switchyard:1.0"
    xmlns:bpel="http://docs.oasis-open.org/ns/opencsa/sca/200912"
    xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
    xmlns:sh="http://www.jboss.org/bpel/examples"
    xmlns:jms="urn:switchyard-component-camel-jms:config:1.0"
    targetNamespace="urn:switchyard-quickstart:bpel-say-hello:0.1.0" name="sayhello">

    <sca:composite name="sayhello" targetNamespace="urn:switchyard-quickstart:bpel-say-hello:0.1.0">
        <sca:service name="SayHelloService" promote="SayHelloService">
            <jms:binding.jms>
                <jms:queue>HelloRequestQueue</jms:queue>
                <jms:connectionFactory>#ConnectionFactory</jms:connectionFactory>
                <jms:replyTo>HelloReplyQueue</jms:replyTo>
            </jms:binding.jms>
        </sca:service>
        <sca:component name="SayHelloService">
            <bpel:implementation.bpel process="sh:SayHello"/>
            <sca:service name="SayHelloService">
                <sca:interface.wsdl interface="SayHelloArtifacts.wsdl#wsdl.porttype(SayHello)"/>
            </sca:service>
        </sca:component>
    </sca:composite>

</switchyard>
