users@glassfish.java.net

Re: How to start/stop MDB in glassfish App Server

From: <glassfish_at_javadesktop.org>
Date: Mon, 09 Jun 2008 21:16:25 PDT

the only other (similar) solution would be disabling the entire application (java ee module / ear). Even in this case all the other entities (servlets/EJBs) that are present in your app will be disabled.
If you have deployed your MDB as a separate java ee jar module then disabling/undeploying would work, but if you want to selectively stop consuming only in the MDB then there is no way ASFAIK.
Maybe there is someway you could configure the queue/topic at the broker end to do this.
[Message sent by forum member 'rampsarathy' (rampsarathy)]

http://forums.java.net/jive/thread.jspa?messageID=279317