Title: Timer in Jboss3.0

Hello,
I would like your thoughts on the following that is not very J2EE complaint.
When a MDB receives a message, it sohuld start an external program (let's call it "prog.exe"). When this "prog" completes, it writes a file (result.xml).

I would like to read every n seconds whether the contents of result.xml is "<ok/>";
During the n seconds I ould like to be in a waiting state.

How could I do that?
I am looking at the timer MBean but i am not sure to be on the right way.
Thanks for your help.
Dominique

Reply via email to