aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GLIMMERVEEN Arnoud <Arnoud.Glimmerv...@nl.thalesgroup.com>
Subject [aries-rsa] Cleanup resources of imported endpoint
Date Tue, 17 Aug 2021 08:59:23 GMT
Hi all,

I am working on custom DistributionProvider implementation and I have a question regarding
lifecycle of imported services. I have seen that for the export flow, the endpoint returned
by the DistributionProvider allows my implementation to become aware when the endpoint is
closed allowing my implementation to cleanup/free any resources it used for the export. For
imported endpoints however I don't see a direct way looking at the DistributionProvider interface
to become aware of the service that was created for that endpoint is no longer being used/needed.
I have seen the RemoteServiceAdminCore emits the IMPORT_UNREGISTRATION RemoteServiceAdminEvent,
but I am unsure if it is wise/correct to listen to this event from my DistributionProvider
implementation.

Are there any ideas on how to deal with this?

Best regards,

Arnoud Glimmerveen


------------------------------------------------------------------------------------------------------------
Disclaimer:

If you are not the intended recipient of this email, please notify the sender and
delete it.
Any unauthorized copying, disclosure or distribution of this email or its
attachment(s) is forbidden.
Thales Nederland BV will not accept liability for any damage caused by this email or
its attachment(s).
Thales Nederland BV is seated in Hengelo and is registered at the Chamber of
Commerce under number 06061578.
------------------------------------------------------------------------------------------------------------


Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message