views:

271

answers:

2

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.

A: 

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

Superfilin
+2  A: 

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
I believe it was not backported. Not totally positive but I can't find any mention of it in any documentation.
Marcus
It may be available as a CR. Contact the support.
Pascal Thivent