Announcement Announcement Module
Collapse
No announcement yet.
AOP and PayloadRootAnnotationMethodEndpointMapping Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AOP and PayloadRootAnnotationMethodEndpointMapping

    I want to use an After returning advice after my endpoint methods runs.

    I am using PayloadRootAnnotationMethodEndpointMapping, so do I put the @Endpoint and @PayloadRoot annotations on the interface so I can use AOP?

    I tried this, but got a no mapping for request in the my logs.

  • #2
    You should annotate concrete implementations. Annotations aren't inherited from interfaces to concrete classes (as specified in the java spefication).

    Comment

    Working...
    X