Manuel Santillán wrote:

Hi Francesco,

Notifications in JMX can embed custom data if you like. Take a look at the javax.management.Notification#setUserData(Object o) and its related getter. One thing to take into account is that you need to have knowledge of the type in the client. Hope it helped!!

Hum, JMX best practices recommend to reuse open mbean types
So you can display your notified user data in off-the-shelves JMX consoles (JConsole, ...) You can have also a look on http://java.sun.com/products/JavaManagement/best-practices.html#mozTocId199275
Didier

Cheers


//manuel

Manuel Santillán
Francesco Furfari escribió:

Dear Stephan , Manuel,
I need some hint about the notification mechanism in JMX.
I've figured out that mbean notifications allow to send only simple messages. If a client needs to receive complex data it has to pull the data using, for example, the sequence number obtained in a previous notification message.
Is this correct or I'm missing something?

thanks in advance
francesco





--
--------------------------------------------------------------
Didier DONSEZ

INRIA/SARDES project, B117
655, avenue de l'Europe, Montbonnot
38334 St Ismier Cedex, France
Tel : +33 4 76 61 52 95           Fax : +33 4 76 61 52 52
GPS : lat 45°13'4.1"N, lon 05°48'24.3"E, alt 220m

Laboratoire LSR, Institut IMAG, Equipe ADELE
Universite Joseph Fourier
Bat. C, 220 rue de la Chimie, Domaine Universitaire
BP 53, 38041 Grenoble Cedex 9, France
Tel : +33 4 76 63 55 49           Fax : +33 4 76 63 55 50
GPS : lat 45°11'38.3"N, lon 05°46'14.7"E, alt 223m

mailto:[EMAIL PROTECTED]
URL: http://www-adele.imag.fr/users/Didier.Donsez
Map: http://www-adele.imag.fr/users/Didier.Donsez/map/map.html
--------------------------------------------------------------


Reply via email to