Hi Asankha, So long I let this problem without solution... My need is to register a MBean on Synapse start-up.
What you proposed to me is a MBean Mediator. The problem is that before it is used for the first time in a sequence, this mediator won't be available in the JMX console. Any idea? Laurent. -----Message d'origine----- De : Asankha C. Perera [mailto:[email protected]] Envoyé : mercredi 19 mars 2008 17:07 À : [email protected] Objet : Re: RE : JMX monitoring support Hi Laurent > I progress! > I have added the -D options and I can run the JConsole. > Cool! > So now how can I declare my Mbean to be loaded when Synapse starts? > Can you look at the HttpCoreNIOListener:init() method.. if its a mediator that needs JMX management, you can make the mediator implement ManagedLifecycle interface and register with JMX on its init asankha Ce message est protégé par les règles relatives au secret des correspondances. Il est donc établi à destination exclusive de son destinataire. Celui-ci peut donc contenir des informations confidentielles. La divulgation de ces informations est à ce titre rigoureusement interdite. Si vous avez reçu ce message par erreur, merci de le renvoyer à l'expéditeur dont l'adresse e-mail figure ci-dessus et de détruire le message ainsi que toute pièce jointe. This message is protected by the secrecy of correspondence rules. Therefore, this message is intended solely for the attention of the addressee. This message may contain privileged or confidential information, as such the disclosure of these informations is strictly forbidden. If, by mistake, you have received this message, please return this message to the addressser whose e-mail address is written above and destroy this message and all files attached.
