240 发简信
IP属地:山东
  • spring boot自定义配置文件数据源

    SpringBoot支持动态的读取文件,留下的扩展接口org.springframework.boot.env.EnvironmentPostP...

  • ApplicationContextInitializer、PropertySourceLocator自定义bootstrap属性源

    PropertySourceLocator方式实现 PropertySourceLocator是spring cloud的接口用来完成自定义Bo...

  • spring cloud bootstrap配置

    spring.cloud.bootstrap.name默认为bootstrap spring.cloud.bootstrap.location默...

  • OpenFeign官网配置

    名称默认值描述feign.autoconfiguration.jackson.enabledfalse如果为true,则将提供PageJacks...

  • spring cloud openFeign学习

    1. 声明式REST客户端:Feign Feign是一个声明式web服务客户端。它使得编写web服务客户端更加容易。使用Feign创建一个接口并...

  • spring cloud 服务注册、发现了解

    spring cloud定义了以下几个类用于服务的注册、发现操作 DiscoveryClient 接口代表服务发现常见的读取操作 EnableD...

  • spring applicationListener spplicationEvent

    ApplicationListener是Spring事件机制的一部分,与抽象类ApplicationEvent类配合来完成Application...

  • openfeign配置超时。重试

    网上查到说openfeign是基于ribbon实现的所以可以直接配置ribbon的超时也可以实现 但是我测试了一下不好用。通过一下直接配置fei...

  • Resize,w 360,h 240
    spring 定时任务 @Scheduled

    @Scheduled 源码如下: 使用@Scheduled 首先需要开启定时任务 需要在config类上添加@EnableScheduling...