Announcement Announcement Module
Collapse
No announcement yet.
Spring AOP advices not working when using BlazeDS Integration Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring AOP advices not working when using BlazeDS Integration

    Hi,

    I declared a Spring AOP advice by annotating a class with Aspect and one of its method with Before([some in-place pointcut expression]).

    I added the Spring bean declaration for this aspect class to the same web application context XML configuration where the MessageBroker is defined.

    Unfortunately the advice never runs when the method declared in its in-place pointcut expression is called.

    If I move the aspect's bean declaration to the main application context (which is actually not what I want) everything works fine.

    Is this a known behavior or am I missing something?

    Thanks for your help!

    Greetings from Germany,
    Daniel

  • #2
    It is not known behavior. I'm going to lean towards saying you're probably missing something in your configuration, but it's hard to say for sure without more detail.

    Comment

    Working...
    X