Method aspects break event caching

Description

When a handler method is wrapped in an advice, event caching will not work for that method. This is because the HandlerService is getting the metaData for the aspect and not the original UDF and the aspect does not have the original cache annotations.

I assume this can be fixed by reading the method's metadata and building out the AOP stub to use the same annotations.

I found this out after installing ProfileBox, since it wraps all my events' actions in an aspect.

Assignee

Luis Majano

Reporter

Brad Wood

Labels

None

Components

Priority

Major
Configure