Add IDisposable interface to IDestination.
Fixes [AMQNET-473]. (See https://issues.apache.org/jira/browse/AMQNET-473)
Set the NMS version dependency to 1.7.0 for trunk development.
diff --git a/nant.build b/nant.build
index a1b40b8..cf7076f 100644
--- a/nant.build
+++ b/nant.build
@@ -22,7 +22,7 @@
<property name="basedir" value="${project::get-base-directory()}" />
<property name="project.name" value="Apache.NMS.AMQP" />
<property name="project.group" value="org.apache.activemq" />
- <property name="project.version" value="1.6.0" unless="${property::exists('project.version')}" />
+ <property name="project.version" value="1.7.0" unless="${property::exists('project.version')}" />
<property name="project.release.type" value="SNAPSHOT" unless="${property::exists('project.release.type')}" />
<property name="project.short_description" value="Apache NMS for AMQP Class Library" />
<property name="project.description" value="Apache NMS for AMQP Class Library (.Net Messaging Library Implementation): An implementation of the NMS API for AMQP using Apache QPID and Proton" />
diff --git a/src/main/csharp/Destination.cs b/src/main/csharp/Destination.cs
index 0260afe..254ce35 100644
--- a/src/main/csharp/Destination.cs
+++ b/src/main/csharp/Destination.cs
@@ -100,6 +100,12 @@
qpidAddress = new Org.Apache.Qpid.Messaging.Address(other.Address);
}
+ /**
+ * Dispose of the destination object.
+ */
+ public void Dispose()
+ {
+ }
/**
* Path property
@@ -195,7 +201,6 @@
return result;
}
-
/**
* Qpid Address accessor
* Name property