0

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.

Fionnuala
  • 90,370
  • 7
  • 114
  • 152
Marcus Leon
  • 55,199
  • 118
  • 297
  • 429

2 Answers2

2

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.

Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124
0

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

Andrey Adamovich
  • 20,285
  • 14
  • 94
  • 132