All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.obatis.core.annotation.request.ConfigFeignClient Maven / Gradle / Ivy

There is a newer version: 3.0.1-release
Show newest version
package com.obatis.core.annotation.request;

import org.springframework.cloud.openfeign.FeignClient;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * 微服务 Feign调用封装,自动实现熔断机制参数返回,无效强制方法实现
 * @author HuangLongPu
 */
@Target({ METHOD })
@Retention(RUNTIME)
@Documented
@FeignClient
public @interface ConfigFeignClient {

    /**
     * 服务名称
     * @return
     */
    String value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy