[Ace-users] [tao-bugs] Notify_Service naming service cleanup
Hans Utz
hans.utz at nasa.gov
Fri Aug 17 16:46:35 CDT 2007
Hi,
TAO VERSION: 1.5.10
ACE VERSION: 5.5.10
HOST MACHINE and OPERATING SYSTEM: Linux RH WS 4
COMPILER NAME AND VERSION (AND PATCHLEVEL): gcc 3.4.6
THE $ACE_ROOT/ace/config.h FILE:
config-linux.h
THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE:
platform_linux.GNU
AREA/CLASS/EXAMPLE AFFECTED: Notification Service
DOES THE PROBLEM AFFECT:
EXECUTION
SYNOPSIS:
On shutdown Notification Service cleans up the naming service reference
of the notify-factory, but not any channels generated due to command
line options.
DESCRIPTION:
This behavior looks inconsistent to me. I assume, that in a persistent
setup, with reconnect capabilities we might not want to clean up any
reference in the naming service at all. But if we clean up the factory
reference, we might as well clean up the references to generated channels.
Speaking of cleanup: Would it make sense to destroy all created channels
before exit in a non-persistent setup? If I understand it correctly,
this would call disconnect on all consumers and suppliers, giving them a
chance to do something about the fact, that the service is about to be
no longer available.
Cheers,
Hans
More information about the Ace-users
mailing list