Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<switchyard xmlns="urn:switchyard-config:switchyard:1.0">
    <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" name="hornetq-binding" targetNamespace="urn:switchyard-quickstart:hornetq-binding:0.1.0">
        <service name="GreetingService" promote="GreetingService">
            <hornetq:binding.hornetq xmlns:hornetq="urn:switchyard-component-hornetq:config:1.0">
                <selector:operationSelector xmlns:selector="urn:switchyard-component-common-selector:config:1.0" operationName="greet"/>
                <hornetq:config>
                    <hornetq:connector>
                        <hornetq:factoryClass>org.hornetq.core.remoting.impl.invm.InVMConnectorFactory</hornetq:factoryClass>
                    </hornetq:connector>
                    <hornetq:queue>jms.queue.GreetingServiceQueue</hornetq:queue>
                </hornetq:config>
            </hornetq:binding.hornetq>
        </service>
        <component name="GreetingService">
            <implementation.bean xmlns="urn:switchyard-component-bean:config:1.0" class="org.switchyard.quickstarts.hornetq.GreetingServiceBean"/>
            <service name="GreetingService">
                <interface.java interface="org.switchyard.quickstarts.hornetq.GreetingService"/>
            </service>
        </component>
    </composite>
</switchyard>
New to GrepCode? Check out our FAQ X