Hi,
          I want to bind  service (JMSConnectorService) on JMS and Web
services. I specified composite like below. But, it is not working.
Throwing exception like "Multiple bindings with the same name for a
service: Service = JMSConnectorService Binding name =
JMSConnectorService" . What is wrong with this composite? Could you
suggest correct one? 

  <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903";
           targetNamespace="http://itest";
           name="ExternalServiceComposite">

    <component name="JMSConnectorService">
        <implementation.java
class="org.apache.tuscany.sca.binding.jms.JMSConnectorServiceImpl"/>
        <service name="JMSConnectorService">
            <binding.jms
initialContextFactory="org.apache.activemq.jndi.ActiveMQInitialContextFa
ctory" jndiURL="tcp://localhost:61616">
               <destination jndiName="DestQueueA" create="always"/>
               <response>
                  <destination jndiName="RespQueueA" create="always"/>
               </response>
            </binding.jms> 
            <binding.ws/>
            
        </service> 
    </component>       
    
</composite>

Regards
Raman

Reply via email to