alibaba/Sentinel

SentinelResourceAspect can not get @SentinelResource annotation in Proxy Interface

Open

#284 创建于 2018年12月5日

在 GitHub 查看
 (7 评论) (0 反应) (1 负责人)Java (8,150 fork)batch import
area/annotationgood first issuekind/bug

仓库指标

Star
 (23,109 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Issue Description

I can not get @SentinelResource annotation property from Method in SentinelResourceAspect when I use a Proxy Interface(EchoService) that created by java.lang.reflect.Proxy.

public interface EchoService {
    @SentinelResource(value = "testResource")
    String echo(String str);
}

Type: bug report

Describe what happened (or what feature you want)

image

贡献者指南