Setup WCF Service running in IIS 6 Caching - Enterprise.Caching
There's a business need to hold on to a message for a x amount of time(cache).
Another process will remove it from the cache. We may receive another message that will remove this message from the cache and prevent it from processing.
One way that I though of doing this is
- Receive message1 and put in cache for (x) minutes
- Start a new thread that expires in (x - 1) minutes
- Receive second message that affects first - removes first message from cache
- Thread expires if message1 still exist forward to datastore
Any suggestion would be greatly appreciated.