Update: Memory persistance included
In my previous posts I said I will write a SQL based persistence provider for Plumbwork.Orange WS-Eventing implementation and help John Bristowe a bit.
It's done now, as is memory based persistance option, but since http://www.gotdotnet.com still has problems with workspaces, I cannot upload it.
Classes can be downloaded here:
All you need to do is replace one line in SubscriptionManagerFactory.cs:
return new XmlSubscriptionManager() as ISubscriptionManager;
With:
return new SqlSubscriptionManager() as ISubscriptionManager; or return new MemorySubscriptionManager() as ISubscriptionManager;
return new SqlSubscriptionManager() as ISubscriptionManager;
or
return new MemorySubscriptionManager() as ISubscriptionManager;
Since some members of the workspace are already working on configuration application block integration, all config data should go in there someday.
My implementation now uses SQL Server as a subscription storage for durable WS-Eventing subscriptions. System.Collections.Hashtable is used in memory based persistance model. Complete support includes:
When GDN Workspaces come back online, I will post this to Plumbwork.Orange.
Remember Me
The opinions expressed herein are my own personal opinions and do not represent my company's view in any way.
My views often change.
This blog is just a collection of bytes.
Copyright © 2003-2024Matevž Gačnik
E-mail