可以在 Weblogic 8.x 中停止 MDB 吗?

发布于 2024-08-07 11:33:41 字数 105 浏览 4 评论 0原文

是否可以通过编程方式阻止 MDB 侦听 Weblogic 8.1 中的队列?

我知道这可以在 JBoss 和更高版本的 Weblogic 中完成,但我不确定在 8.x 中是否可行。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

谜兔 2024-08-14 11:33:41

在 Weblogic 9.x 和 Weblogic 10.x 中,可以通过公开挂起/恢复方法的 MessageDrivenEJBRuntimeMBean 来实现这一点(请参阅 BEA WebLogic Server 9.0 API 参考WebLogic Server 10.3 API 参考),如本 线程:以编程方式挂起/暂停 MDB 的使用。 AFAIK,这个功能已经在 9.0 版本中引入,我不知道它是否被向后移植到 8.1(在服务包中或作为补丁)。您可能需要通过 BEAOracle 支持来检查这一点。

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.

您可以取消部署包含 MDB 的应用程序。您可以使用 WLST 来做到这一点。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文