Author: jgomes Date: Tue Dec 9 10:50:33 2008 New Revision: 724819 URL: http://svn.apache.org/viewvc?rev=724819&view=rev Log: Add support in ISession to delete destinations, both temporary and standard. This allows for deterministic deletion of destinations without having to close a connection to get temporary destinations to be deleted. Fixes [AMQNET-129] and AMQNET-129]. (See https://issues.apache.org/activemq/browse/AMQNET-129) (See https://issues.apache.org/activemq/browse/AMQNET-123) Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/Session.cs Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/Session.cs URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/Session.cs?rev=724819&r1=724818&r2=724819&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/Session.cs (original) +++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/Session.cs Tue Dec 9 10:50:33 2008 @@ -104,6 +104,15 @@ return EMSConvert.ToNMSTemporaryTopic(this.tibcoSession.CreateTemporaryTopic()); } + /// + /// Delete a destination (Queue, Topic, Temp Queue, Temp Topic). + /// + public void DeleteDestination(IDestination destination) + { + // TODO: Implement if possible. If not possible, then change exception to NotSupportedException(). + throw new NotImplementedException(); + } + public Apache.NMS.IMessage CreateMessage() { return EMSConvert.ToNMSMessage(this.tibcoSession.CreateMessage());