<?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:component-scan base-package="com.zfoo"/>

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

        <net:registry center="zookeeper" user="" password="">
            <net:address name="firstZookeeper" url="127.0.0.1:2181"/>
        </net:registry>

        <net:consumer load-balancer="consistent-hash">
            <net:module name="providerTest"/>
        </net:consumer>

    </net:config>

</beans>
