jms message interceptor

ε祈祈猫儿з 提交于 2020-01-16 16:24:29

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!