alibaba/Sentinel

SentinelResourceAspect can not get @SentinelResource annotation in Proxy Interface

Open

#284 opened on 2018年12月5日

GitHub で見る
 (7 comments) (0 reactions) (1 assignee)Java (8,150 forks)batch import
area/annotationgood first issuekind/bug

Repository metrics

Stars
 (23,109 stars)
PR merge metrics
 (30d に merged 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

コントリビューターガイド