Author: jgomes
Date: Wed Mar 12 23:16:49 2014
New Revision: 1576993
URL: http://svn.apache.org/r1576993
Log:
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.
Modified:
activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/nant.build
activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/Destination.cs
activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/Session.cs
Modified: activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/nant.build
URL:
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/nant.build?rev=1576993&r1=1576992&r2=1576993&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/nant.build (original)
+++ activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/nant.build Wed Mar 12
23:16:49 2014
@@ -22,7 +22,7 @@
<property name="basedir" value="${project::get-base-directory()}" />
<property name="project.name" value="Apache.NMS.MSMQ" />
<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 MSMQ
Class Library" />
<property name="project.description" value="Apache NMS for MSMQ Class
Library (.Net Messaging Library Implementation): An implementation of the NMS
API for MSMQ" />
@@ -52,7 +52,7 @@
<!-- Property grouping for 'vendor.apache.org' -->
<property name="vendor.apache.org.name" value="Apache.NMS" />
<property name="vendor.apache.org.group" value="org.apache.activemq" />
- <property name="vendor.apache.org.version" value="1.6.0" />
+ <property name="vendor.apache.org.version" value="1.7.0" />
<property name="vendor.apache.org.filenames"
value="Apache.NMS.dll,Apache.NMS.pdb,Apache.NMS.Test.dll,Apache.NMS.Test.pdb" />
<!-- Property grouping for 'vendor.nunit.org' -->
Modified:
activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/Destination.cs
URL:
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/Destination.cs?rev=1576993&r1=1576992&r2=1576993&view=diff
==============================================================================
---
activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/Destination.cs
(original)
+++
activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/Destination.cs
Wed Mar 12 23:16:49 2014
@@ -43,6 +43,10 @@ namespace Apache.NMS.MSMQ
Path = name;
}
+ public void Dispose()
+ {
+ }
+
public String Path
{
get { return this.path; }
Modified:
activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/Session.cs
URL:
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/Session.cs?rev=1576993&r1=1576992&r2=1576993&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/Session.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.MSMQ/trunk/src/main/csharp/Session.cs
Wed Mar 12 23:16:49 2014
@@ -265,9 +265,11 @@ namespace Apache.NMS.MSMQ
#region Transaction State Events
+ #pragma warning disable 0067
public event SessionTxEventDelegate TransactionStartedListener;
public event SessionTxEventDelegate TransactionCommittedListener;
public event SessionTxEventDelegate TransactionRolledBackListener;
+ #pragma warning restore 0067
#endregion