<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"

       xmlns:net="http://www.zfoo.com/schema/net"

       xsi:schemaLocation="
    http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
    http://www.springframework.org/schema/context
    http://www.springframework.org/schema/context/spring-context-4.0.xsd

    http://www.zfoo.com/schema/net
    http://www.zfoo.com/schema/net-1.0.xsd">

    <context:property-placeholder location="classpath:deploy-dev.properties"/>
    <context:component-scan base-package="com.zfoo"/>

    <net:config id="applicationNameTest" protocol-location="protocol.xml">

        <net:registry center="${registry.center}" user="${registry.user}" password="${registry.password}">
            <net:address name="${registry.address.name}" url="${registry.address.url}"/>
        </net:registry>


        <net:consumer load-balancer="shortest-time">
            <net:module name="providerTest"/>
        </net:consumer>

    </net:config>

</beans>
