Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top