-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Aspect On Method #119
Comments
Hi @murseld , For these to work you need to implement all of yours concurrent aspects as Kind.Around. I'll leave this issue opened as I think I could come up with how to make priorities "cross-kind" e.g. make all Before and After as part of another internal Around. |
Hey @murseld , I have recently implemented Cache aspect. Could you please take a look and see if it can suit your needs? I'm asking as you're the one with real cache problem need to solve. |
Hi pamidur |
Hi @murseld , I've created new prerelease 2.4.0-beta1. I changed weavers priority in it. So Before/After are always injected even when other aspect with Around is used. You may try it! |
Should be fixed now. Please feel free to reopen |
Hello pamidur and me again :)
When I want to use multiple aspect for example CacheAspect and LogAspect,
CacheAspect (if cache contains any data) prevents the other LogAspect from using the Kind.After property because log aspect is logging when method is complete.
How can I avoid this do you have any advice.
Thank you my friend..
CacheAspect.txt
LogAspect.txt
The text was updated successfully, but these errors were encountered: