wuxw
2019-02-02 9454b49eeabd56894550f1419f14e96f9d10c2ef
PropertyService/src/main/java/com/java110/property/PropertyServiceApplicationStart.java
@@ -3,6 +3,8 @@
import com.java110.core.annotation.Java110ListenerDiscovery;
import com.java110.event.service.BusinessServiceDataFlowEventPublishing;
import com.java110.service.init.ServiceStartInit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.client.RestTemplateBuilder;
@@ -30,7 +32,8 @@
@Java110ListenerDiscovery(listenerPublishClass = BusinessServiceDataFlowEventPublishing.class,
        basePackages = {"com.java110.property.listener"})
public class PropertyServiceApplicationStart {
    private final static Logger logger = LoggerFactory.getLogger(PropertyServiceApplicationStart.class);
    /**
     * 实例化RestTemplate,通过@LoadBalanced注解开启均衡负载能力.