Possible to stop MDB in Weblogic 8.x?

半城伤御伤魂 提交于 2020-01-07 06:55:14

问题


Is it possible to programatically stop an MDB from listening to a queue in Weblogic 8.1?

I know this can be done in JBoss and later versions of Weblogic but I wasn't sure if it's possible in 8.x.


回答1:


This is possible with Weblogic 9.x and Weblogic 10.x through the MessageDrivenEJBRuntimeMBean that exposes suspend/resume methods (see BEA WebLogic Server 9.0 API Reference or WebLogic Server 10.3 API Reference) as explained in this Thread: Suspending/Pausing a MDB's Consumption Programmatically. AFAIK, this feature has been introduced in version 9.0 and I don't know if it was backported to 8.1 (in a service pack or as a patch). You might want to check this with BEAOracle support.




回答2:


You can undeploy the application that contains your MDB. You can use WLST to do that.



来源:https://stackoverflow.com/questions/1532010/possible-to-stop-mdb-in-weblogic-8-x

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