activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r592461 - in /activemq/activemq-dotnet/Apache.NMS.EMS/trunk: Apache.NMS.NMSFactory.ems src/test/csharp/CommonAssemblyInfo.cs src/test/csharp/NMSConnectionFactoryTest.cs vs2005-ems-test.csproj vs2005-ems.csproj vs2005-ems.sln
Date Tue, 06 Nov 2007 15:40:34 GMT
Author: chirino
Date: Tue Nov  6 07:40:34 2007
New Revision: 592461

URL: http://svn.apache.org/viewvc?rev=592461&view=rev
Log:
Updated this NMS implementation so that the discovery mechanisim in NMSConnectionFactory
can locate the implemenation. AMQNET-75


Added:
    activemq/activemq-dotnet/Apache.NMS.EMS/trunk/Apache.NMS.NMSFactory.ems
    activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/test/csharp/CommonAssemblyInfo.cs
    activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/test/csharp/NMSConnectionFactoryTest.cs
    activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems-test.csproj
Modified:
    activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems.csproj
    activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems.sln

Added: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/Apache.NMS.NMSFactory.ems
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/Apache.NMS.NMSFactory.ems?rev=592461&view=auto
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/Apache.NMS.NMSFactory.ems (added)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/Apache.NMS.NMSFactory.ems Tue Nov  6 07:40:34
2007
@@ -0,0 +1 @@
+Apache.NMS.EMS.ConnectionFactory
\ No newline at end of file

Added: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/test/csharp/CommonAssemblyInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/test/csharp/CommonAssemblyInfo.cs?rev=592461&view=auto
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/test/csharp/CommonAssemblyInfo.cs (added)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/test/csharp/CommonAssemblyInfo.cs Tue
Nov  6 07:40:34 2007
@@ -0,0 +1,28 @@
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:2.0.50727.832
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+[assembly: ComVisibleAttribute(false)]
+[assembly: CLSCompliantAttribute(false)]
+[assembly: AssemblyTitleAttribute("Apache NMS for EMS Class Library")]
+[assembly: AssemblyDescriptionAttribute("Apache NMS for EMS Class Library (.Net Messaging
Library Implementation): An impl" +
+    "ementation of the NMS API for EMS")]
+[assembly: AssemblyConfigurationAttribute("SNAPSHOT")]
+[assembly: AssemblyCompanyAttribute("http://activemq.apache.org/nms")]
+[assembly: AssemblyProductAttribute("Apache NMS for EMS Class Library")]
+[assembly: AssemblyCopyrightAttribute("Copyright (C) 2005-2007 Apache Software Foundation")]
+[assembly: AssemblyTrademarkAttribute("")]
+[assembly: AssemblyCultureAttribute("")]
+[assembly: AssemblyVersionAttribute("1.0")]
+[assembly: AssemblyInformationalVersionAttribute("1.0")]
+

Added: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/test/csharp/NMSConnectionFactoryTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/test/csharp/NMSConnectionFactoryTest.cs?rev=592461&view=auto
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/test/csharp/NMSConnectionFactoryTest.cs
(added)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/test/csharp/NMSConnectionFactoryTest.cs
Tue Nov  6 07:40:34 2007
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+using System;
+using Apache.NMS;
+using NUnit.Framework;
+using System.Reflection;
+using System.IO;
+
+namespace Apache.NMS.ActiveMQ
+{
+    [TestFixture]
+    public class NMSConnectionFactoryTest 
+    {
+        [Test]
+        public void TestEmsURI()
+        {
+            NMSConnectionFactory factory = new NMSConnectionFactory("ems:tcp://localhost:61616");
+            Assert.IsNotNull(factory);
+            Assert.IsNotNull(factory.ConnectionFactory);
+            Assert.IsTrue(factory.ConnectionFactory is Apache.NMS.EMS.ConnectionFactory);
+        }
+
+    }
+
+
+}
+

Added: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems-test.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems-test.csproj?rev=592461&view=auto
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems-test.csproj (added)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems-test.csproj Tue Nov  6 07:40:34
2007
@@ -0,0 +1,58 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>8.0.50727</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{EB943C69-2C9B-45E7-B95B-FB916E7057ED}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <RootNamespace>Apache.NMS.EMS.Test</RootNamespace>
+    <AssemblyName>Apache.NMS.EMS.Test</AssemblyName>
+    <WarningLevel>4</WarningLevel>
+    <StartupObject>
+    </StartupObject>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>build\net-2.0\debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugSymbols>false</DebugSymbols>
+    <Optimize>true</Optimize>
+    <OutputPath>build\net-2.0\release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="nunit.framework, Version=2.2.0.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>$(USERPROFILE)\.nant\repository\org.nunit\nunit\2.2.8\all\nunit.framework.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="src\test\csharp\CommonAssemblyInfo.cs" />
+    <Compile Include="src\test\csharp\NMSConnectionFactoryTest.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="vendor\Apache.NMS\vs2005-nms-test.csproj">
+      <Project>{2F3ABCF5-EE87-43B1-9DE7-0548FD6A4E52}</Project>
+      <Name>vs2005-nms-test</Name>
+    </ProjectReference>
+    <ProjectReference Include="vendor\Apache.NMS\vs2005-nms.csproj">
+      <Project>{300C1716-0674-4D01-8F5D-151E59A504FE}</Project>
+      <Name>vs2005-nms</Name>
+    </ProjectReference>
+    <ProjectReference Include="vs2005-ems.csproj">
+      <Project>{2AF5EBB5-9873-4B35-A8FC-8B6E74242767}</Project>
+      <Name>vs2005-ems</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+</Project>
\ No newline at end of file

Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems.csproj?rev=592461&r1=592460&r2=592461&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems.csproj (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems.csproj Tue Nov  6 07:40:34 2007
@@ -60,6 +60,7 @@
   </ItemGroup>
   <ItemGroup>
     <None Include="activemq-dotnet.snk" />
+    <EmbeddedResource Include="Apache.NMS.NMSFactory.ems" />
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="vendor\Apache.NMS\vs2005-nms.csproj">

Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems.sln
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems.sln?rev=592461&r1=592460&r2=592461&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems.sln (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/vs2005-ems.sln Tue Nov  6 07:40:34 2007
@@ -1,12 +1,14 @@
 
 Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual C# Express 2005
+# Visual Studio 2005
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "vs2005-ems", "vs2005-ems.csproj", "{2AF5EBB5-9873-4B35-A8FC-8B6E74242767}"
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "vs2005-nms", "vendor\Apache.NMS\vs2005-nms.csproj",
"{300C1716-0674-4D01-8F5D-151E59A504FE}"
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "vs2005-nms-test", "vendor\Apache.NMS\vs2005-nms-test.csproj",
"{2F3ABCF5-EE87-43B1-9DE7-0548FD6A4E52}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "vs2005-ems-test", "vs2005-ems-test.csproj",
"{EB943C69-2C9B-45E7-B95B-FB916E7057ED}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -25,6 +27,10 @@
 		{2F3ABCF5-EE87-43B1-9DE7-0548FD6A4E52}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{2F3ABCF5-EE87-43B1-9DE7-0548FD6A4E52}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{2F3ABCF5-EE87-43B1-9DE7-0548FD6A4E52}.Release|Any CPU.Build.0 = Release|Any CPU
+		{EB943C69-2C9B-45E7-B95B-FB916E7057ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{EB943C69-2C9B-45E7-B95B-FB916E7057ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{EB943C69-2C9B-45E7-B95B-FB916E7057ED}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{EB943C69-2C9B-45E7-B95B-FB916E7057ED}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE



Mime
View raw message