Bugzilla – Bug 1134
ConsumerAdmin requires subscription_change() before passing events to proxy suppliers
Last modified: 2002-05-28 16:38:57
You need to log in before you can comment on or make changes to this bug.
Posted by gduzan@bbn.com: In TAO's Notification Service implementation, it appears that the default ConsumerAdmin behavior is to pass nothing to its proxy suppliers, requiring a consumer_admin->subscription_change(...) call to start any traffic going. What is the rationale behind this? It certainly goes against the behavior of the classic Event Service, which didn't have this interface, and I've used other implementations which default to sending everything. I don't know that the current behavior is necessarily wrong (though I have my suspicions), but I would hope at least to see a mention of it in the release notes if it were to stay the way it is. Thanks.
yes, this is a nasty "gotcha" that crept in. this needs to be fixed.
Tue May 28 20:24:16 CDT 2002 Pradeep Gore <pradeep@oomworks.com> * orbsvcs/orbsvcs/Notify/Notify_Collection.cpp: * orbsvcs/orbsvcs/Notify/Notify_Collection.h: * orbsvcs/orbsvcs/Notify/Notify_ConsumerAdmin_i.cpp: * orbsvcs/orbsvcs/Notify/Notify_Event.cpp: * orbsvcs/orbsvcs/Notify/Notify_Event.h: * orbsvcs/orbsvcs/Notify/Notify_ProxySupplier_T.cpp: Fix for bug: http://deuce.doc.wustl.edu/bugzilla/show_bug.cgi?id=1134 Proxy Suppliers are subscribed for all events (special) by default. * orbsvcs/tests/Notify/Basic/Events_Test.cpp: * orbsvcs/tests/Notify/Basic/Simple.cpp: * orbsvcs/tests/Notify/Blocking/Structured_Consumer.cpp: * orbsvcs/tests/Notify/Discarding/Sequence_Consumer.cpp: * orbsvcs/tests/Notify/Discarding/Structured_Consumer.cpp: * orbsvcs/tests/Notify/MT_Dispatching/Structured_Consumer.cpp: * orbsvcs/tests/Notify/Ordering/Sequence_Consumer.cpp: * orbsvcs/tests/Notify/Ordering/Structured_Consumer.cpp: * orbsvcs/tests/Notify/Sequence_Multi_ETCL_Filter/Sequence_Consumer.cpp: * orbsvcs/tests/Notify/Sequence_Multi_Filter/Sequence_Consumer.cpp: * orbsvcs/tests/Notify/Structured_Filter/Structured_Consumer.cpp: * orbsvcs/tests/Notify/Structured_Multi_Filter/Structured_Consumer.cpp: * orbsvcs/tests/Notify/performance-tests/Filter/Sequence_Consumer.cpp: * orbsvcs/tests/Notify/performance-tests/Filter/Structured_Consumer.cpp: * orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.cpp: * orbsvcs/examples/Notify/Filter/Filter.cpp: * orbsvcs/examples/Notify/Subscribe/Subscribe.cpp: Removed extraneous call to subscription_change.