We are building a windows application that needs to handle messages
for as long as the application is running. Currently the service bus
will automatically subscribe any ConsumerOf consumers and provides an
OccassionalConsumerOf getting subscribed through
bus.AddInstanceSubscription. However, I was thinking it would be nice
to provide an auto subscribe that wouldn't require an instance to be
already created, but additionally dispose or unsubscribe when the
application shuts down. Would providing an implementation of
IServiceBusAware that automatically unsubscribes all IMessageConsumers
if it got registered with the container be the right way to achieve
this? Or would you have other suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Rhino Tools Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rhino-tools-dev?hl=en
-~----------~----~----~----~------~----~------~--~---