[Ace-users] Re: [tao-users] Event Service and Consumers/Suppliers
jwillemsen at remedy.nl
Wed Aug 22 07:48:46 CDT 2007
Please use the PRF form, we now don't know which TAO version you are using
which can influence the answer.
2650 AC Berkel en Rodenrijs
www.theaceorb.nl / www.remedy.nl
*** Integrated compile and test statistics see
*** Commercial service and support for ACE/TAO/CIAO ***
*** See http://www.theaceorb.nl/en/support.html ***
> I have a question concerning the use of the Event Service in
> with consumers/suppliers that use persistent IORs.
> My principal idea was to use consumers/supplier with
> persistent IORs in
> order to prevent a multiple registration of a
> consumer/supplier crashed.
> When restarted the reregistration results in a lot of exceptions when
> the Event Service is trying to sent out consumers which not
> valid anymore.
> Although the IORs of consumers/suppliers are persistent the Event
> Service handles them as a registration of a new
> consumers/suppliers. In
> case of consumers, this results in receiving all events twice. This
> proves to me that both IORs are still valid. But for some reason the
> Event Service does not throw an 'AlreadyRegistered' exception when
> reregistering after a crash.
> I worked around this using transient IORs and letting the
> Event Service
> monitor broken links. This does very much the same except that the ES
> needs one exception to notify that the llink is broken.
> I wonder why my approach using persistent IORs does not work. Has
> someone similar experience?
> Kind regards
> tao-users mailing list
> tao-users at mail.cse.wustl.edu
More information about the Ace-users