Hi there,

     We noticed a difference in the behavior of the JBoss Timer MBean when 
upgrading from 3.2.3 to 4.0.2. When multiple schedules are programmed for the 
same instance, the notifications aren't generated simultaneously; one 
notification it's generated only after the previous handleNotification(...) 
ends. Is this normal in 4.0.2 or are we making any error?

The relevant code segments are:

jboss-service.xml:

[mbean code="javax.management.timer.Timer"
    name="Collector:service=AgentSchedulerTimer"/]


Notification schedule:

notifid=(Integer)server.invoke(
  timer.getObjectName(), "addNotification",
  new Object[] { "Timer", "Timer schedule",
    callback, date, new Long(period) },
  new String[] { String.class.getName(),String.class.getName(),
    Object.class.getName(), Date.class.getName(),
    Long.TYPE.getName() });



Thanks in advance,

Arménio Pinto

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910296#3910296

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910296


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to