-
1. Re: Why am I not receiving Notifications?
dimitris Nov 6, 2006 1:39 PM (in response to mskonda)I don't remember if the naming service produces notifications when things are bound/unbound. Are you sure?
-
2. Re: Why am I not receiving Notifications?
mskonda Nov 7, 2006 3:39 AM (in response to mskonda)I am assuming and expecting Naming MBean to produce Notifications, but not sure it does. I'll check the source code to see if I can dig any info on this.
If Naming MBean doesn't produce notifications as I assumed, do you know if any way I can achieve the same thing, Dimitris? Or is it easy for me to incorporate code change to produce notifications (perhaps feature request?)
Thanks
Madhu -
3. Re: Why am I not receiving Notifications?
mskonda Nov 8, 2006 4:46 AM (in response to mskonda)You are correct that the Naming service does not produce Notifications on bind/rebind/unbind operations (I'm looking at org.jnp.server.NamingServer.java).
Well, as I have a requirement to listen to the notifications, I am wonderign the best way to proceed to incorporate notification broadcasting from NamingSever.
I think I have two ways
1. Incorporate notifications in NamingServer itself (this means I'll have to change the code)
2. Extend NamingServer with notification broadcast support.
I am not sure how the second point turns out to be.
Any ideas/suggestions?
Thanks
Madhu