Apache.NMS.ISession.DeleteDurableConsumer(string)

Here are the examples of the csharp api class Apache.NMS.ISession.DeleteDurableConsumer(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: spring-net
Source File: CachedSession.cs
public void DeleteDurableConsumer(string durableSubscriptionName)
        {
            if (shouldCacheConsumers)
            {
                throw new InvalidOperationException("Deleting of durable consumers is not supported when caching of consumers is enabled");
            } 
            target.DeleteDurableConsumer(durableSubscriptionName);            
        }