<?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="camel-netty-binding" targetNamespace="urn:switchyard-quickstart:camel-netty-binding:0.1.0">
        <service name="SecuredGreetingService" promote="SecuredGreetingService">
            <netty:binding.tcp xmlns:netty="urn:switchyard-component-camel-netty:config:1.0">
                <netty:host>localhost</netty:host>
                <netty:port>3939</netty:port>
                <netty:ssl>true</netty:ssl>
                <netty:passphrase>#password</netty:passphrase>
                <netty:keyStoreFile>#keyStore</netty:keyStoreFile>
                <netty:trustStoreFile>#trustStore</netty:trustStoreFile>
                <netty:allowDefaultCodec>false</netty:allowDefaultCodec>
                <netty:sync>true</netty:sync>
            </netty:binding.tcp>
        </service>
        <service name="DefaultGreetingService" promote="DefaultGreetingService">
            <netty:binding.udp xmlns:netty="urn:switchyard-component-camel-netty:config:1.0">
                <netty:host>localhost</netty:host>
                <netty:port>3940</netty:port>
                <netty:allowDefaultCodec>false</netty:allowDefaultCodec>
                <netty:sync>false</netty:sync>
            </netty:binding.udp>
        </service>
        <component name="SecuredGreetingService">
            <implementation.bean xmlns="urn:switchyard-component-bean:config:1.0" class="org.switchyard.quickstarts.camel.netty.binding.SecuredGreetingServiceBean" requires="authorization"/>
            <service name="SecuredGreetingService" requires="confidentiality clientAuthentication">
                <interface.java interface="org.switchyard.quickstarts.camel.netty.binding.GreetingService"/>
            </service>
        </component>
        <component name="DefaultGreetingService">
            <implementation.bean xmlns="urn:switchyard-component-bean:config:1.0" class="org.switchyard.quickstarts.camel.netty.binding.DefaultGreetingServiceBean"/>
            <service name="DefaultGreetingService">
                <interface.java interface="org.switchyard.quickstarts.camel.netty.binding.GreetingService"/>
            </service>
        </component>
    </composite>
    <domain>
        <securities>
            <security callbackHandler="org.switchyard.security.callback.handler.CertificateCallbackHandler" rolesAllowed="analysts" securityDomain="netty-security-cert">
                <properties>
                    <property name="alias" value="users"/>
                </properties>
            </security>
        </securities>
    </domain>
</switchyard>
