Archived

This forum has been archived. Please start a new discussion on GitHub.

IcePack Registration notification

Hello again,

Up until this point, we have been using IcePack with statically deployed services using descriptors. Given the name of a valid deployed service, an application can then query the administrator for the proxy to that service.


Now, we would like to dynamically register a service(object) that an application wants. That is, an application would use IcePack/Query facility to attempt to find an object. If that object does not exist, we would like the application to wait until some other entity registers the needed object in IcePack and then have the application(or service) be notified somehow that the object now exists in IcePack and that it can go and get it.

We know how to dynamically register with IcePack. Question is if notification facility is in place to notify listeners that a dynamic registration has taken place and wait until it takes place. If so, can you point us to an example or two in the installation and documentation in the manual.

Thanks,

Brian

Comments

  • benoit
    benoit Rennes, France
    Hi Brian,

    Sorry, there's no notification facilities in place to do this. You could poll the registry at regular time intervals and see if the service was added instead.

    It's certainly something that we could add provided that there's a comercial demand for it :)

    Cheers,
    Benoit.
  • Okay, that's what I thought.

    Thanks, Benoit.
  • Rather than putting yet another event service into IcePack, you could also use IceStorm to post events about new registrations to interested parties. That way, IcePack does what it is meant to do, and IceStorm also does what it is meant to do ;)

    Cheers,

    Michi.
  • Michi,

    Took your advice and used IceStorm to implement a solution for this problem. Thanks very much for your input.

    Brian