问题
Is there anyway to intercept messages going to/from a java app and an activeMQ queue?
Any opensource utilities I can avail of?
Thanks Damien
回答1:
You can use aspect-oriented programming.
But it does beg the question: why would you want to do this? Logging, monitoring, alerting? Those are all cross-cutting concerns that AOP can address.
来源:https://stackoverflow.com/questions/4114187/jms-message-interceptor