-
1. Re: not start MDB delivery automatically
adrian.brock Dec 21, 2007 10:46 AM (in response to dklio)Not in any of the current releases.
The feature was added for jca inbound resource adapters in jboss 5
http://jira.jboss.com/jira/browse/JBAS-4517
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/trunk/server/src/main/org/jboss/ejb/plugins/inflow/JBossMessageEndpointFactory.java?r1=54873&r2=66023
Since the MessageEndpointFactory class is configurable in the invoker proxy binding,
you could replace the jboss class with one that has the deliveryActive code from the JBoss 5 -
2. Re: not start MDB delivery automatically
adrian.brock Dec 21, 2007 10:49 AM (in response to dklio)"adrian@jboss.org" wrote:
Not in any of the current releases.
The feature was added for jca inbound resource adapters in jboss 5
http://jira.jboss.com/jira/browse/JBAS-4517
NOTE: This work is incomplete since although the feature is in the code,
there is not xml tag (or annotation for EJB3) currently in JBoss5 to enable it. ;-( -
3. Re: not start MDB delivery automatically
dklio Dec 25, 2007 9:48 AM (in response to dklio)Thanks a lot, Adrian!
Is there any other way to have MDB not functioning on JBoss startup?
As far as I got from JBoss documentation and sources, JBoss creates MBean for each EJB deployed. As for any other MBean, these beans have start and stop methods. If I only could have the appropriate MBean stopped on JBoss startup the problem would be solved. Could it be achieved in some way or other? May be by implementing my own Container class?
Thank you!
Dmitry Klionskiy