Category Archives: Aspect Oriented Programming

Spring AOP and Reflection Pitfalls

PrologueThis post intents to point out some pitfalls when using spring aop and reflection on the same objects. Moreover, it provides some examples of these pitfalls when combining ServiceMix & Camel with Spring JPA/Hibernate. The two most common uses of aspect oriented programming with spring are Security Transaction Handling I found myself having issues when […]

Extend ServiceMix Management features using Spring – Part 3

In the previous posts (Extend ServiceMix Management features using Spring – Part 1 and Part 2) I presented how to use spring to gain control over endpoint lifecycle and configuration via jmx. You might wonder till now “what happens to those custom changes if I have to redeploy the assembly, restart servicemix or even worse […]