dubbo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] CoderDade commented on issue #1533: 在Dubbo的Filter里面无法拿到隐式传参的参数(I can't get the attachment in Dubbo Filter)?
Date Tue, 03 Apr 2018 07:17:42 GMT
CoderDade commented on issue #1533: 在Dubbo的Filter里面无法拿到隐式传参的参数(I
can't get the attachment in Dubbo Filter)?
URL: https://github.com/apache/incubator-dubbo/issues/1533#issuecomment-378152342
 
 
   @kimmking Well,thanks for @techyang .I found out that the way I got value of the attachment
was wrong.I used to get attachments by `RpcContext.getContext().getAttachment(key)`  in the
Filter#invoke, but the right way seems to be using `invocation.getAttachment(key)`.And I make
it.So it seems to be that I make a mistake.Thanks for your kindly support.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message