Hello,

I have 2 questions about MBeans:

We have an MBean that looks every 30 seconds in the database if there is an action to 
perform.
If there is an entry for an action, the action will be performed, this may take 
several minutes.
Maybe there are a lot of action entries in the database which should be performed 
sequential.

1. If we use the javax.management.timer.Timer and register for notification every 30 
seconds, what happens if a notification occures and the MBean is still busy performing 
one action ?
Is the notification scipped ? (would be ok)
Are the notifications waiting ? (up to an overflow ?)


2. We would like to create several instances of this service on JBoss startup, 
dependent on a configuration located in the database, and maybe change it during 
runtime. These instances should look at different specific action entries. 
Is it possible to create several MBean instances at runtime using the JMX-interface ?
What's the best way to provide the information to the MBean instance which action 
entry each instance should look for ?
E.g. write an AbcFactoryMBean that creates the MBean instances, 
add the action-information to the ServiceName
or set a propery with the action-information ?

We use jboss 3.2.3.

Any ideas appreciated.

Annegret




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to