Skip to content
Permalink
Browse files
Fix some of the error messages in the NotSupportedExceptions and add …
…a throw in DeleteDestination since Stomp can't do this.
  • Loading branch information
Timothy A. Bish committed Sep 2, 2010
1 parent 9eee331 commit 286c2340cfd00c5a52e165555b59389b42a554d3
Showing 1 changed file with 3 additions and 3 deletions.
@@ -479,12 +479,12 @@ public void DeleteDurableConsumer(string name)

public IQueueBrowser CreateBrowser(IQueue queue)
{
throw new NotSupportedException("Not Yet Implemented");
throw new NotSupportedException("Not supported with Stomp Protocol");
}

public IQueueBrowser CreateBrowser(IQueue queue, string selector)
{
throw new NotSupportedException("Not Yet Implemented");
throw new NotSupportedException("Not supported with Stomp Protocol");
}

public IQueue GetQueue(string name)
@@ -514,7 +514,7 @@ public ITemporaryTopic CreateTemporaryTopic()
/// </summary>
public void DeleteDestination(IDestination destination)
{
// Not Possible with Stomp
throw new NotSupportedException("Stomp Cannot delete Destinations");
}

public IMessage CreateMessage()

0 comments on commit 286c234

Please sign in to comment.