Commit 75b1569d by Nepxion

重构Sentinel

parent 32abaf2b
......@@ -11,9 +11,11 @@ package com.nepxion.discovery.plugin.example.service.sentinel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import com.nepxion.discovery.plugin.example.service.feign.AFeign;
@Component
public class MyAFeignFallbackHandler implements AFeign {
private static final Logger LOG = LoggerFactory.getLogger(MyAFeignFallbackHandler.class);
......
......@@ -11,9 +11,11 @@ package com.nepxion.discovery.plugin.example.service.sentinel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import com.nepxion.discovery.plugin.example.service.feign.BFeign;
@Component
public class MyBFeignFallbackHandler implements BFeign {
private static final Logger LOG = LoggerFactory.getLogger(MyBFeignFallbackHandler.class);
......
......@@ -11,9 +11,11 @@ package com.nepxion.discovery.plugin.example.service.sentinel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import com.nepxion.discovery.plugin.example.service.feign.CFeign;
@Component
public class MyCFeignFallbackHandler implements CFeign {
private static final Logger LOG = LoggerFactory.getLogger(MyCFeignFallbackHandler.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment