activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r589629 [6/7] - in /activemq/activemq-dotnet/trunk: ./ src/main/csharp/ActiveMQ/ src/main/csharp/ActiveMQ/Commands/ src/main/csharp/ActiveMQ/OpenWire/ src/main/csharp/ActiveMQ/OpenWire/V1/ src/main/csharp/ActiveMQ/OpenWire/V2/ src/main/csha...
Date Mon, 29 Oct 2007 13:55:57 GMT
Added: activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/MessageProperties.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/MessageProperties.cs?rev=589629&view=auto
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/MessageProperties.cs (added)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/MessageProperties.cs Mon Oct 29 06:55:09 2007
@@ -0,0 +1,229 @@
+/*
+ * 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.Collections;
+
+namespace Apache.TibcoEMS
+{
+	public class MessageProperties : Apache.NMS.IPrimitiveMap
+	{
+		public TIBCO.EMS.Message tibcoMessage;
+
+		public MessageProperties(TIBCO.EMS.Message message)
+		{
+			this.tibcoMessage = message;
+		}
+
+		private class PropertyNameEnumerable : IEnumerable
+		{
+			private readonly TIBCO.EMS.Message tibcoMessage;
+			public PropertyNameEnumerable(TIBCO.EMS.Message message)
+			{
+				this.tibcoMessage = message;
+			}
+
+			public IEnumerator GetEnumerator()
+			{
+				return tibcoMessage.PropertyNames;
+			}
+		}
+
+		#region IPrimitiveMap Members
+
+		public void Clear()
+		{
+			this.tibcoMessage.ClearProperties();
+		}
+
+		public bool Contains(object key)
+		{
+			return this.tibcoMessage.PropertyExists(key.ToString());
+		}
+
+		public void Remove(object key)
+		{
+			// Best guess at equivalent implementation.
+			this.tibcoMessage.SetObjectProperty(key.ToString(), null);
+		}
+
+		public int Count
+		{
+			get
+			{
+				int count = 0;
+				PropertyNameEnumerable propertyNames = new PropertyNameEnumerable(this.tibcoMessage);
+
+				foreach(object propertyName in propertyNames)
+				{
+					count++;
+				}
+
+				return count;
+			}
+		}
+
+		public ICollection Keys
+		{
+			get
+			{
+				ArrayList keys = new ArrayList();
+				PropertyNameEnumerable propertyNames = new PropertyNameEnumerable(this.tibcoMessage);
+
+				foreach(string propertyName in propertyNames)
+				{
+					keys.Add(propertyName);
+				}
+
+				return keys;
+			}
+		}
+
+		public ICollection Values
+		{
+			get
+			{
+				ArrayList values = new ArrayList();
+				PropertyNameEnumerable propertyNames = new PropertyNameEnumerable(this.tibcoMessage);
+
+				foreach(string propertyName in propertyNames)
+				{
+					values.Add(this.tibcoMessage.GetObjectProperty(propertyName));
+				}
+
+				return values;
+			}
+		}
+
+		public object this[string key]
+		{
+			get { return this.tibcoMessage.GetObjectProperty(key); }
+			set { this.tibcoMessage.SetObjectProperty(key, value); }
+		}
+
+		public string GetString(string key)
+		{
+			return this.tibcoMessage.GetStringProperty(key);
+		}
+
+		public void SetString(string key, string value)
+		{
+			this.tibcoMessage.SetStringProperty(key, value);
+		}
+
+		public bool GetBool(string key)
+		{
+			return this.tibcoMessage.GetBooleanProperty(key);
+		}
+
+		public void SetBool(string key, bool value)
+		{
+			this.tibcoMessage.SetBooleanProperty(key, value);
+		}
+
+		public byte GetByte(string key)
+		{
+			return this.tibcoMessage.GetByteProperty(key);
+		}
+
+		public void SetByte(string key, byte value)
+		{
+			this.tibcoMessage.SetByteProperty(key, value);
+		}
+
+		public char GetChar(string key)
+		{
+			return (char) this.tibcoMessage.GetShortProperty(key);
+		}
+
+		public void SetChar(string key, char value)
+		{
+			this.tibcoMessage.SetShortProperty(key, (short) value);
+		}
+
+		public short GetShort(string key)
+		{
+			return this.tibcoMessage.GetShortProperty(key);
+		}
+
+		public void SetShort(string key, short value)
+		{
+			this.tibcoMessage.SetShortProperty(key, value);
+		}
+
+		public int GetInt(string key)
+		{
+			return this.tibcoMessage.GetIntProperty(key);
+		}
+
+		public void SetInt(string key, int value)
+		{
+			this.tibcoMessage.SetIntProperty(key, value);
+		}
+
+		public long GetLong(string key)
+		{
+			return this.tibcoMessage.GetLongProperty(key);
+		}
+
+		public void SetLong(string key, long value)
+		{
+			this.tibcoMessage.SetLongProperty(key, value);
+		}
+
+		public float GetFloat(string key)
+		{
+			return this.tibcoMessage.GetFloatProperty(key);
+		}
+
+		public void SetFloat(string key, float value)
+		{
+			this.tibcoMessage.SetFloatProperty(key, value);
+		}
+
+		public double GetDouble(string key)
+		{
+			return this.tibcoMessage.GetDoubleProperty(key);
+		}
+
+		public void SetDouble(string key, double value)
+		{
+			this.tibcoMessage.SetDoubleProperty(key, value);
+		}
+
+		public IList GetList(string key)
+		{
+			return (IList) this.tibcoMessage.GetObjectProperty(key);
+		}
+
+		public void SetList(string key, IList list)
+		{
+			this.tibcoMessage.SetObjectProperty(key, list);
+		}
+
+		public IDictionary GetDictionary(string key)
+		{
+			return (IDictionary) this.tibcoMessage.GetObjectProperty(key);
+		}
+
+		public void SetDictionary(string key, IDictionary dictionary)
+		{
+			this.tibcoMessage.SetObjectProperty(key, dictionary);
+		}
+
+		#endregion
+	}
+}

Added: activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/ObjectMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/ObjectMessage.cs?rev=589629&view=auto
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/ObjectMessage.cs (added)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/ObjectMessage.cs Mon Oct 29 06:55:09 2007
@@ -0,0 +1,42 @@
+/*
+ * 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.
+ */
+
+namespace Apache.TibcoEMS
+{
+	class ObjectMessage : Apache.TibcoEMS.Message, Apache.NMS.IObjectMessage
+	{
+		public TIBCO.EMS.ObjectMessage tibcoObjectMessage
+		{
+			get { return this.tibcoMessage as TIBCO.EMS.ObjectMessage; }
+			set { this.tibcoMessage = value; }
+		}
+
+		public ObjectMessage(TIBCO.EMS.ObjectMessage message)
+			: base(message)
+		{
+		}
+
+		#region IObjectMessage Members
+
+		public object Body
+		{
+			get { return this.tibcoObjectMessage.TheObject; }
+		}
+
+		#endregion
+	}
+}

Added: activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/Queue.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/Queue.cs?rev=589629&view=auto
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/Queue.cs (added)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/Queue.cs Mon Oct 29 06:55:09 2007
@@ -0,0 +1,66 @@
+/*
+ * 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.
+ */
+
+namespace Apache.TibcoEMS
+{
+	public class Queue : Apache.TibcoEMS.Destination, Apache.NMS.IQueue
+	{
+		public TIBCO.EMS.Queue tibcoQueue
+		{
+			get { return this.tibcoDestination as TIBCO.EMS.Queue; }
+			set { this.tibcoDestination = value; }
+		}
+
+		public Queue(TIBCO.EMS.Queue queue)
+			: base(queue)
+		{
+		}
+
+		#region IQueue Members
+
+		public string QueueName
+		{
+			get { return this.tibcoQueue.QueueName; }
+		}
+
+		#endregion
+
+		#region IDestination Members
+
+		public Apache.NMS.DestinationType DestinationType
+		{
+			get { return Apache.NMS.DestinationType.Queue; }
+		}
+
+		public bool IsTopic
+		{
+			get { return false; }
+		}
+
+		public bool IsQueue
+		{
+			get { return true; }
+		}
+
+		public bool IsTemporary
+		{
+			get { return false; }
+		}
+
+		#endregion
+	}
+}
\ No newline at end of file

Added: activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/Session.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/Session.cs?rev=589629&view=auto
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/Session.cs (added)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/Session.cs Mon Oct 29 06:55:09 2007
@@ -0,0 +1,220 @@
+/*
+ * 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;
+
+namespace Apache.TibcoEMS
+{
+    /// <summary>
+	/// Represents a NMS session to TIBCO.
+    /// </summary>
+    public class Session : Apache.NMS.ISession
+    {
+    	public readonly TIBCO.EMS.Session tibcoSession;
+    	private bool closed = false;
+    	private bool disposed = false;
+
+        public Session(TIBCO.EMS.Session session)
+        {
+        	this.tibcoSession = session;
+		}
+
+		~Session()
+		{
+			Dispose(false);
+		}
+
+		#region ISession Members
+
+		public Apache.NMS.IMessageProducer CreateProducer()
+        {
+            return CreateProducer(null);
+        }
+
+		public Apache.NMS.IMessageProducer CreateProducer(Apache.NMS.IDestination destination)
+        {
+			Apache.TibcoEMS.Destination destinationObj = (Apache.TibcoEMS.Destination) destination;
+
+			return TibcoUtil.ToNMSMessageProducer(this, this.tibcoSession.CreateProducer(destinationObj.tibcoDestination));
+        }
+
+		public Apache.NMS.IMessageConsumer CreateConsumer(Apache.NMS.IDestination destination)
+        {
+			Apache.TibcoEMS.Destination destinationObj = (Apache.TibcoEMS.Destination) destination;
+
+			return TibcoUtil.ToNMSMessageConsumer(this, this.tibcoSession.CreateConsumer(destinationObj.tibcoDestination));
+        }
+
+		public Apache.NMS.IMessageConsumer CreateConsumer(Apache.NMS.IDestination destination, string selector)
+        {
+			Apache.TibcoEMS.Destination destinationObj = (Apache.TibcoEMS.Destination) destination;
+
+			return TibcoUtil.ToNMSMessageConsumer(this, this.tibcoSession.CreateConsumer(destinationObj.tibcoDestination, selector));
+		}
+
+		public Apache.NMS.IMessageConsumer CreateConsumer(Apache.NMS.IDestination destination, string selector, bool noLocal)
+        {
+			Apache.TibcoEMS.Destination destinationObj = (Apache.TibcoEMS.Destination) destination;
+
+			return TibcoUtil.ToNMSMessageConsumer(this, this.tibcoSession.CreateConsumer(destinationObj.tibcoDestination, selector, noLocal));
+        }
+
+		public Apache.NMS.IMessageConsumer CreateDurableConsumer(Apache.NMS.ITopic destination, string name, string selector, bool noLocal)
+        {
+			Apache.TibcoEMS.Topic topicObj = (Apache.TibcoEMS.Topic) destination;
+
+			return TibcoUtil.ToNMSMessageConsumer(this, this.tibcoSession.CreateDurableSubscriber(topicObj.tibcoTopic, name, selector, noLocal));
+        }
+
+		public Apache.NMS.IQueue GetQueue(string name)
+        {
+			return TibcoUtil.ToNMSQueue(this.tibcoSession.CreateQueue(name));
+        }
+
+		public Apache.NMS.ITopic GetTopic(string name)
+        {
+			return TibcoUtil.ToNMSTopic(this.tibcoSession.CreateTopic(name));
+        }
+
+		public Apache.NMS.ITemporaryQueue CreateTemporaryQueue()
+        {
+			return TibcoUtil.ToNMSTemporaryQueue(this.tibcoSession.CreateTemporaryQueue());
+        }
+
+		public Apache.NMS.ITemporaryTopic CreateTemporaryTopic()
+        {
+			return TibcoUtil.ToNMSTemporaryTopic(this.tibcoSession.CreateTemporaryTopic());
+        }
+
+		public Apache.NMS.IMessage CreateMessage()
+        {
+			return TibcoUtil.ToNMSMessage(this.tibcoSession.CreateMessage());
+        }
+
+		public Apache.NMS.ITextMessage CreateTextMessage()
+        {
+			return TibcoUtil.ToNMSTextMessage(this.tibcoSession.CreateTextMessage());
+        }
+
+		public Apache.NMS.ITextMessage CreateTextMessage(string text)
+        {
+			return TibcoUtil.ToNMSTextMessage(this.tibcoSession.CreateTextMessage(text));
+        }
+
+		public Apache.NMS.IMapMessage CreateMapMessage()
+        {
+			return TibcoUtil.ToNMSMapMessage(this.tibcoSession.CreateMapMessage());
+        }
+
+		public Apache.NMS.IBytesMessage CreateBytesMessage()
+        {
+			return TibcoUtil.ToNMSBytesMessage(this.tibcoSession.CreateBytesMessage());
+        }
+
+		public Apache.NMS.IBytesMessage CreateBytesMessage(byte[] body)
+        {
+			Apache.NMS.IBytesMessage bytesMessage = CreateBytesMessage();
+
+			if(null != bytesMessage)
+			{
+				bytesMessage.Content = body;
+			}
+
+			return bytesMessage;
+        }
+
+		public Apache.NMS.IObjectMessage CreateObjectMessage(Object body)
+		{
+			return TibcoUtil.ToNMSObjectMessage(this.tibcoSession.CreateObjectMessage(body));
+		}
+		
+        public void Commit()
+        {
+			this.tibcoSession.Commit();
+        }
+        
+        public void Rollback()
+        {
+			this.tibcoSession.Rollback();
+        }
+        
+        // Properties
+        
+        public bool Transacted
+        {
+            get { return this.tibcoSession.Transacted; }
+        }
+
+		public Apache.NMS.AcknowledgementMode AcknowledgementMode
+        {
+            get { return TibcoUtil.ToAcknowledgementMode(this.tibcoSession.SessionAcknowledgeMode); }
+        }
+
+        public void Close()
+        {
+			lock(this)
+			{
+				if(closed)
+				{
+					return;
+				}
+
+				this.tibcoSession.Close();
+				closed = true;
+			}
+        }
+
+		#endregion
+
+		#region IDisposable Members
+		
+		///<summary>
+		/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+		///</summary>
+		///<filterpriority>2</filterpriority>
+		public void Dispose()
+		{
+			Dispose(true);
+			GC.SuppressFinalize(this);
+		}
+
+		protected void Dispose(bool disposing)
+		{
+			if(disposed)
+			{
+				return;
+			}
+
+			if(disposing)
+			{
+				// Dispose managed code here.
+			}
+
+			try
+			{
+				Close();
+			}
+			catch
+			{
+				// Ignore errors.
+			}
+
+			disposed = true;
+		}
+
+		#endregion
+	}
+}

Added: activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TemporaryQueue.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TemporaryQueue.cs?rev=589629&view=auto
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TemporaryQueue.cs (added)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TemporaryQueue.cs Mon Oct 29 06:55:09 2007
@@ -0,0 +1,57 @@
+/*
+ * 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.
+ */
+
+namespace Apache.TibcoEMS
+{
+	class TemporaryQueue : Apache.TibcoEMS.Destination, Apache.NMS.ITemporaryQueue
+	{
+		public TIBCO.EMS.TemporaryQueue tibcoTemporaryQueue
+		{
+			get { return this.tibcoDestination as TIBCO.EMS.TemporaryQueue; }
+			set { this.tibcoDestination = value; }
+		}
+
+		public TemporaryQueue(TIBCO.EMS.TemporaryQueue temporaryQueue)
+			: base(temporaryQueue)
+		{
+		}
+
+		#region IDestination Members
+
+		public Apache.NMS.DestinationType DestinationType
+		{
+			get { return Apache.NMS.DestinationType.TemporaryQueue; }
+		}
+
+		public bool IsTopic
+		{
+			get { return false; }
+		}
+
+		public bool IsQueue
+		{
+			get { return true; }
+		}
+
+		public bool IsTemporary
+		{
+			get { return true; }
+		}
+
+		#endregion
+	}
+}

Added: activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TemporaryTopic.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TemporaryTopic.cs?rev=589629&view=auto
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TemporaryTopic.cs (added)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TemporaryTopic.cs Mon Oct 29 06:55:09 2007
@@ -0,0 +1,57 @@
+/*
+ * 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.
+ */
+
+namespace Apache.TibcoEMS
+{
+	class TemporaryTopic : Apache.TibcoEMS.Destination, Apache.NMS.ITemporaryTopic
+	{
+		public TIBCO.EMS.TemporaryTopic tibcoTemporaryTopic
+		{
+			get { return this.tibcoDestination as TIBCO.EMS.TemporaryTopic; }
+			set { this.tibcoDestination = value; }
+		}
+
+		public TemporaryTopic(TIBCO.EMS.TemporaryTopic temporaryTopic)
+			: base(temporaryTopic)
+		{
+		}
+
+		#region IDestination Members
+
+		public Apache.NMS.DestinationType DestinationType
+		{
+			get { return Apache.NMS.DestinationType.TemporaryTopic; }
+		}
+
+		public bool IsTopic
+		{
+			get { return true; }
+		}
+
+		public bool IsQueue
+		{
+			get { return false; }
+		}
+
+		public bool IsTemporary
+		{
+			get { return true; }
+		}
+
+		#endregion
+	}
+}

Added: activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TextMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TextMessage.cs?rev=589629&view=auto
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TextMessage.cs (added)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TextMessage.cs Mon Oct 29 06:55:09 2007
@@ -0,0 +1,43 @@
+/*
+ * 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.
+ */
+
+namespace Apache.TibcoEMS
+{
+	class TextMessage : Apache.TibcoEMS.Message, Apache.NMS.ITextMessage
+	{
+		public TIBCO.EMS.TextMessage tibcoTextMessage
+		{
+			get { return this.tibcoMessage as TIBCO.EMS.TextMessage; }
+			set { this.tibcoMessage = value; }
+		}
+
+		public TextMessage(TIBCO.EMS.TextMessage message)
+			: base(message)
+		{
+		}
+
+		#region ITextMessage Members
+
+		public string Text
+		{
+			get { return this.tibcoTextMessage.Text; }
+			set { this.tibcoTextMessage.Text = value; }
+		}
+
+		#endregion
+	}
+}

Added: activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TibcoUtil.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TibcoUtil.cs?rev=589629&view=auto
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TibcoUtil.cs (added)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/TibcoUtil.cs Mon Oct 29 06:55:09 2007
@@ -0,0 +1,293 @@
+/*
+ * 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;
+
+namespace Apache.TibcoEMS
+{
+	public class TibcoUtil
+	{
+		static TibcoUtil()
+		{
+			epochDiff = (javaEpoch.ToFileTimeUtc() - windowsEpoch.ToFileTimeUtc())
+							/ TimeSpan.TicksPerMillisecond;
+		}
+
+		public static Apache.NMS.IConnection ToNMSConnection(TIBCO.EMS.Connection tibcoConnection)
+		{
+			return (null != tibcoConnection
+			        		? new Apache.TibcoEMS.Connection(tibcoConnection)
+			        		: null);
+		}
+
+		public static Apache.NMS.ISession ToNMSSession(TIBCO.EMS.Session tibcoSession)
+		{
+			return (null != tibcoSession
+			        		? new Apache.TibcoEMS.Session(tibcoSession)
+			        		: null);
+		}
+
+		public static Apache.NMS.IMessageProducer ToNMSMessageProducer(Apache.TibcoEMS.Session session,
+					TIBCO.EMS.MessageProducer tibcoMessageProducer)
+		{
+			return (null != tibcoMessageProducer
+			        		? new Apache.TibcoEMS.MessageProducer(session, tibcoMessageProducer)
+			        		: null);
+		}
+
+		public static Apache.NMS.IMessageConsumer ToNMSMessageConsumer(Apache.TibcoEMS.Session session,
+					TIBCO.EMS.MessageConsumer tibcoMessageConsumer)
+		{
+			return (null != tibcoMessageConsumer
+			        		? new Apache.TibcoEMS.MessageConsumer(session, tibcoMessageConsumer)
+			        		: null);
+		}
+
+		public static Apache.NMS.IQueue ToNMSQueue(TIBCO.EMS.Queue tibcoQueue)
+		{
+			return (null != tibcoQueue
+			        		? new Apache.TibcoEMS.Queue(tibcoQueue)
+			        		: null);
+		}
+
+		public static Apache.NMS.ITopic ToNMSTopic(TIBCO.EMS.Topic tibcoTopic)
+		{
+			return (null != tibcoTopic
+			        		? new Apache.TibcoEMS.Topic(tibcoTopic)
+			        		: null);
+		}
+
+		public static Apache.NMS.ITemporaryQueue ToNMSTemporaryQueue(
+				TIBCO.EMS.TemporaryQueue tibcoTemporaryQueue)
+		{
+			return (null != tibcoTemporaryQueue
+			        		? new Apache.TibcoEMS.TemporaryQueue(tibcoTemporaryQueue)
+			        		: null);
+		}
+
+		public static Apache.NMS.ITemporaryTopic ToNMSTemporaryTopic(
+				TIBCO.EMS.TemporaryTopic tibcoTemporaryTopic)
+		{
+			return (null != tibcoTemporaryTopic
+			        		? new Apache.TibcoEMS.TemporaryTopic(tibcoTemporaryTopic)
+			        		: null);
+		}
+
+		public static Apache.NMS.IDestination ToNMSDestination(TIBCO.EMS.Destination tibcoDestination)
+		{
+			if(tibcoDestination is TIBCO.EMS.Queue)
+			{
+				return ToNMSQueue((TIBCO.EMS.Queue) tibcoDestination);
+			}
+
+			if(tibcoDestination is TIBCO.EMS.Topic)
+			{
+				return ToNMSTopic((TIBCO.EMS.Topic) tibcoDestination);
+			}
+
+			if(tibcoDestination is TIBCO.EMS.TemporaryQueue)
+			{
+				return ToNMSTemporaryQueue((TIBCO.EMS.TemporaryQueue) tibcoDestination);
+			}
+
+			if(tibcoDestination is TIBCO.EMS.TemporaryTopic)
+			{
+				return ToNMSTemporaryTopic((TIBCO.EMS.TemporaryTopic) tibcoDestination);
+			}
+
+			return null;
+		}
+
+		public static Apache.NMS.IMessage ToNMSMessage(TIBCO.EMS.Message tibcoMessage)
+		{
+			if(tibcoMessage is TIBCO.EMS.TextMessage)
+			{
+				return ToNMSTextMessage(tibcoMessage as TIBCO.EMS.TextMessage);
+			}
+
+			if(tibcoMessage is TIBCO.EMS.BytesMessage)
+			{
+				return ToNMSBytesMessage(tibcoMessage as TIBCO.EMS.BytesMessage);
+			}
+
+			if(tibcoMessage is TIBCO.EMS.MapMessage)
+			{
+				return ToNMSMapMessage(tibcoMessage as TIBCO.EMS.MapMessage);
+			}
+
+			if(tibcoMessage is TIBCO.EMS.ObjectMessage)
+			{
+				return ToNMSObjectMessage(tibcoMessage as TIBCO.EMS.ObjectMessage);
+			}
+
+			return (null != tibcoMessage
+			        		? new Apache.TibcoEMS.Message(tibcoMessage)
+			        		: null);
+		}
+
+		public static Apache.NMS.ITextMessage ToNMSTextMessage(TIBCO.EMS.TextMessage tibcoTextMessage)
+		{
+			return (null != tibcoTextMessage
+			        		? new Apache.TibcoEMS.TextMessage(tibcoTextMessage)
+			        		: null);
+		}
+
+		public static Apache.NMS.IBytesMessage ToNMSBytesMessage(
+				TIBCO.EMS.BytesMessage tibcoBytesMessage)
+		{
+			return (null != tibcoBytesMessage
+			        		? new Apache.TibcoEMS.BytesMessage(tibcoBytesMessage)
+			        		: null);
+		}
+
+		public static Apache.NMS.IMapMessage ToNMSMapMessage(TIBCO.EMS.MapMessage tibcoMapMessage)
+		{
+			return (null != tibcoMapMessage
+			        		? new Apache.TibcoEMS.MapMessage(tibcoMapMessage)
+			        		: null);
+		}
+
+		public static Apache.NMS.IObjectMessage ToNMSObjectMessage(
+				TIBCO.EMS.ObjectMessage tibcoObjectMessage)
+		{
+			return (null != tibcoObjectMessage
+			        		? new Apache.TibcoEMS.ObjectMessage(tibcoObjectMessage)
+			        		: null);
+		}
+
+		public static TIBCO.EMS.SessionMode ToSessionMode(Apache.NMS.AcknowledgementMode acknowledge)
+		{
+			TIBCO.EMS.SessionMode sessionMode = TIBCO.EMS.SessionMode.NoAcknowledge;
+
+			switch(acknowledge)
+			{
+			case Apache.NMS.AcknowledgementMode.AutoAcknowledge:
+				sessionMode = TIBCO.EMS.SessionMode.AutoAcknowledge;
+				break;
+
+			case Apache.NMS.AcknowledgementMode.AutoClientAcknowledge:
+				sessionMode = TIBCO.EMS.SessionMode.ClientAcknowledge;
+				break;
+
+			case Apache.NMS.AcknowledgementMode.ClientAcknowledge:
+				sessionMode = TIBCO.EMS.SessionMode.ExplicitClientAcknowledge;
+				break;
+
+			case Apache.NMS.AcknowledgementMode.DupsOkAcknowledge:
+				sessionMode = TIBCO.EMS.SessionMode.DupsOkAcknowledge;
+				break;
+
+			case Apache.NMS.AcknowledgementMode.Transactional:
+				sessionMode = TIBCO.EMS.SessionMode.SessionTransacted;
+				break;
+			}
+
+			return sessionMode;
+		}
+
+		public static Apache.NMS.AcknowledgementMode ToAcknowledgementMode(
+				TIBCO.EMS.SessionMode sessionMode)
+		{
+			Apache.NMS.AcknowledgementMode acknowledge = Apache.NMS.AcknowledgementMode.AutoAcknowledge;
+
+			switch(sessionMode)
+			{
+			case TIBCO.EMS.SessionMode.AutoAcknowledge:
+				acknowledge = Apache.NMS.AcknowledgementMode.AutoAcknowledge;
+				break;
+
+			case TIBCO.EMS.SessionMode.ClientAcknowledge:
+				acknowledge = Apache.NMS.AcknowledgementMode.AutoClientAcknowledge;
+				break;
+
+			case TIBCO.EMS.SessionMode.ExplicitClientAcknowledge:
+				acknowledge = Apache.NMS.AcknowledgementMode.ClientAcknowledge;
+				break;
+
+			case TIBCO.EMS.SessionMode.DupsOkAcknowledge:
+				acknowledge = Apache.NMS.AcknowledgementMode.DupsOkAcknowledge;
+				break;
+
+			case TIBCO.EMS.SessionMode.SessionTransacted:
+				acknowledge = Apache.NMS.AcknowledgementMode.Transactional;
+				break;
+			}
+
+			return acknowledge;
+		}
+
+		public static Apache.NMS.IPrimitiveMap ToMessageProperties(TIBCO.EMS.Message tibcoMessage)
+		{
+			return (null != tibcoMessage
+			        		? new Apache.TibcoEMS.MessageProperties(tibcoMessage)
+			        		: null);
+		}
+
+		public static TIBCO.EMS.MessageDeliveryMode ToMessageDeliveryMode(bool persistent)
+		{
+			return (persistent
+						? TIBCO.EMS.MessageDeliveryMode.Persistent
+						: TIBCO.EMS.MessageDeliveryMode.NonPersistent);
+		}
+
+		public static bool ToPersistent(TIBCO.EMS.MessageDeliveryMode deliveryMode)
+		{
+			return (TIBCO.EMS.MessageDeliveryMode.NonPersistent != deliveryMode);
+		}
+
+		#region DateUtils
+		// This secton of utility functions was taken from the ActiveMQ.DateUtils class.
+		// These functions should be merged into a common code area that can be shared
+		// between all provider implementations.
+		
+		/// <summary>
+		/// The start of the Windows epoch
+		/// </summary>
+		public static readonly DateTime windowsEpoch = new DateTime(1601, 1, 1, 0, 0, 0, 0);
+		/// <summary>
+		/// The start of the Java epoch
+		/// </summary>
+		public static readonly DateTime javaEpoch = new DateTime(1970, 1, 1, 0, 0, 0, 0);
+
+		/// <summary>
+		/// The difference between the Windows epoch and the Java epoch
+		/// in milliseconds.
+		/// </summary>
+		public static readonly long epochDiff; /* = 1164447360000L; */
+
+		public static long ToJavaTime(DateTime dateTime)
+		{
+			return (dateTime.ToFileTime() / TimeSpan.TicksPerMillisecond) - epochDiff;
+		}
+
+		public static DateTime ToDateTime(long javaTime)
+		{
+			return DateTime.FromFileTime((javaTime + epochDiff) * TimeSpan.TicksPerMillisecond);
+		}
+
+		public static long ToJavaTimeUtc(DateTime dateTime)
+		{
+			return (dateTime.ToFileTimeUtc() / TimeSpan.TicksPerMillisecond) - epochDiff;
+		}
+
+		public static DateTime ToDateTimeUtc(long javaTime)
+		{
+			return DateTime.FromFileTimeUtc((javaTime + epochDiff) * TimeSpan.TicksPerMillisecond);
+		}
+		#endregion
+
+	}
+}
\ No newline at end of file

Added: activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/Topic.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/Topic.cs?rev=589629&view=auto
==============================================================================
--- activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/Topic.cs (added)
+++ activemq/activemq-dotnet/trunk/src/main/csharp/TIBCO/Topic.cs Mon Oct 29 06:55:09 2007
@@ -0,0 +1,66 @@
+/*
+ * 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.
+ */
+
+namespace Apache.TibcoEMS
+{
+	public class Topic : Apache.TibcoEMS.Destination, Apache.NMS.ITopic
+	{
+		public TIBCO.EMS.Topic tibcoTopic
+		{
+			get { return this.tibcoDestination as TIBCO.EMS.Topic; }
+			set { this.tibcoDestination = value; }
+		}
+
+		public Topic(TIBCO.EMS.Topic topic)
+			: base(topic)
+		{
+		}
+
+		#region ITopic Members
+
+		public string TopicName
+		{
+			get { return this.tibcoTopic.TopicName; }
+		}
+
+		#endregion
+
+		#region IDestination Members
+
+		public Apache.NMS.DestinationType DestinationType
+		{
+			get { return Apache.NMS.DestinationType.Topic; }
+		}
+
+		public bool IsTopic
+		{
+			get { return true; }
+		}
+
+		public bool IsQueue
+		{
+			get { return false; }
+		}
+
+		public bool IsTemporary
+		{
+			get { return false; }
+		}
+
+		#endregion
+	}
+}
\ No newline at end of file

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/BadConsumeTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/BadConsumeTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/BadConsumeTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/BadConsumeTest.cs Mon Oct 29 06:55:09 2007
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using ActiveMQ;
-using NMS;
+using Apache.ActiveMQ;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 
-namespace ActiveMQ
+namespace Apache.ActiveMQ
 {
 	[TestFixture]
     public class BadConsumeTest : NMS.Test.BadConsumeTest

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/BytesMessageTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/BytesMessageTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/BytesMessageTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/BytesMessageTest.cs Mon Oct 29 06:55:09 2007
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using ActiveMQ;
-using NMS;
+using Apache.ActiveMQ;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 
-namespace ActiveMQ
+namespace Apache.ActiveMQ
 {
     [TestFixture]
     public class BytesMessageTest : NMS.Test.BytesMessageTest

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/Commands/CommandTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/Commands/CommandTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/Commands/CommandTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/Commands/CommandTest.cs Mon Oct 29 06:55:09 2007
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using ActiveMQ.Commands;
+using Apache.ActiveMQ.Commands;
 using NUnit.Framework;
 using System.Collections;
 
 
-namespace ActiveMQ.Commands
+namespace Apache.ActiveMQ.Commands
 {
 	[TestFixture]
     public class CommandTest

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/CommonAssemblyInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/CommonAssemblyInfo.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/CommonAssemblyInfo.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/CommonAssemblyInfo.cs Mon Oct 29 06:55:09 2007
@@ -5,7 +5,7 @@
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     This code was generated by a tool.
-//     Runtime Version:2.0.50727.42
+//     Runtime Version:2.0.50727.832
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/ConsumerTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/ConsumerTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/ConsumerTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/ConsumerTest.cs Mon Oct 29 06:55:09 2007
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using ActiveMQ;
-using NMS;
+using Apache.ActiveMQ;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 
-namespace ActiveMQ
+namespace Apache.ActiveMQ
 {
 	[TestFixture]
     public class ConsumerTest : NMS.Test.ConsumerTest

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/DurableTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/DurableTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/DurableTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/DurableTest.cs Mon Oct 29 06:55:09 2007
@@ -15,10 +15,10 @@
  * limitations under the License.
  */
 using System;
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
 
-namespace ActiveMQ
+namespace Apache.ActiveMQ
 {
     [TestFixture]
     public class DurableTest : NMS.Test.DurableTest

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/MapMessageTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/MapMessageTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/MapMessageTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/MapMessageTest.cs Mon Oct 29 06:55:09 2007
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using ActiveMQ;
-using NMS;
+using Apache.ActiveMQ;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 
-namespace ActiveMQ
+namespace Apache.ActiveMQ
 {
 	[ TestFixture ]
     public class MapMessageTest : NMS.Test.MapMessageTest

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/NMSPropertyTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/NMSPropertyTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/NMSPropertyTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/NMSPropertyTest.cs Mon Oct 29 06:55:09 2007
@@ -14,13 +14,13 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-//using ActiveMQ;
-using ActiveMQ;
-using NMS;
+//using Apache.ActiveMQ;
+using Apache.ActiveMQ;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 
-namespace ActiveMQ
+namespace Apache.ActiveMQ
 {
     [ TestFixture ]
     public class NMSPropertyTest : NMS.Test.NMSPropertyTest

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/OpenWire/BooleanStreamTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/OpenWire/BooleanStreamTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/OpenWire/BooleanStreamTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/OpenWire/BooleanStreamTest.cs Mon Oct 29 06:55:09 2007
@@ -18,7 +18,7 @@
 using System;
 using System.IO;
 
-namespace ActiveMQ.OpenWire {
+namespace Apache.ActiveMQ.OpenWire {
         [ TestFixture ]
         public class BooleanStreamTest
         {

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/OpenWire/EndianTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/OpenWire/EndianTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/OpenWire/EndianTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/OpenWire/EndianTest.cs Mon Oct 29 06:55:09 2007
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using ActiveMQ.OpenWire;
+using Apache.ActiveMQ.OpenWire;
 using NUnit.Framework;
 using System;
 using System.IO;
 
-namespace ActiveMQ.OpenWire
+namespace Apache.ActiveMQ.OpenWire
 {
     [TestFixture]
     public class EndianTest

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/OpenWire/PrimitiveMapTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/OpenWire/PrimitiveMapTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/OpenWire/PrimitiveMapTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/OpenWire/PrimitiveMapTest.cs Mon Oct 29 06:55:09 2007
@@ -18,9 +18,9 @@
 using System;
 using System.Collections;
 using System.IO;
-using ActiveMQ.OpenWire;
+using Apache.ActiveMQ.OpenWire;
 
-namespace ActiveMQ.OpenWire
+namespace Apache.ActiveMQ.OpenWire
 {
     [TestFixture]
     public class PrimitiveMapTest

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TemporaryQueueTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TemporaryQueueTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TemporaryQueueTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TemporaryQueueTest.cs Mon Oct 29 06:55:09 2007
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using ActiveMQ;
-using NMS;
+using Apache.ActiveMQ;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 
-namespace ActiveMQ
+namespace Apache.ActiveMQ
 {
     [ TestFixture ]
     public class TemporaryQueueTest : NMS.Test.TemporaryQueueTest

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TestMain.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TestMain.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TestMain.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TestMain.cs Mon Oct 29 06:55:09 2007
@@ -14,11 +14,11 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using ActiveMQ.Commands;
-using NMS;
+using Apache.ActiveMQ.Commands;
+using Apache.NMS;
 using System;
 
-namespace ActiveMQ
+namespace Apache.ActiveMQ
 {
     public class TestMain
     {

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TextMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TextMessage.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TextMessage.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TextMessage.cs Mon Oct 29 06:55:09 2007
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using ActiveMQ;
-using NMS;
+using Apache.ActiveMQ;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 
-namespace ActiveMQ
+namespace Apache.ActiveMQ
 {
 	[ TestFixture ]
     public class TextMessage : NMS.Test.TextMessage

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TransactionTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TransactionTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TransactionTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/ActiveMQ/TransactionTest.cs Mon Oct 29 06:55:09 2007
@@ -14,13 +14,13 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using ActiveMQ;
-using NMS;
+using Apache.ActiveMQ;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 
 
-namespace ActiveMQ
+namespace Apache.ActiveMQ
 {
 	[TestFixture]
     public class TransactionTest : NMS.Test.TransactionTest

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/MSMQ/CommonAssemblyInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/MSMQ/CommonAssemblyInfo.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/MSMQ/CommonAssemblyInfo.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/MSMQ/CommonAssemblyInfo.cs Mon Oct 29 06:55:09 2007
@@ -5,7 +5,7 @@
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     This code was generated by a tool.
-//     Runtime Version:2.0.50727.42
+//     Runtime Version:2.0.50727.832
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/MSMQ/MSMQTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/MSMQ/MSMQTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/MSMQ/MSMQTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/MSMQ/MSMQTest.cs Mon Oct 29 06:55:09 2007
@@ -18,7 +18,7 @@
 using System;
 using System.Messaging;
 
-namespace MSMQ
+namespace Apache.MSMQ
 {    
     /// <summary>
     /// Use to test and verify MSMQ behaviour.

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/MSMQ/ProducerTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/MSMQ/ProducerTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/MSMQ/ProducerTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/MSMQ/ProducerTest.cs Mon Oct 29 06:55:09 2007
@@ -14,10 +14,10 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
 
-namespace MSMQ
+namespace Apache.MSMQ
 {
 	[TestFixture]
     public class ProducerTest : NMS.Test.NMSTestSupport

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/AsyncConsumeTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/AsyncConsumeTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/AsyncConsumeTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/AsyncConsumeTest.cs Mon Oct 29 06:55:09 2007
@@ -18,7 +18,7 @@
 using System.Threading;
 using NUnit.Framework;
 
-namespace NMS.Test
+namespace Apache.NMS.Test
 {
     [TestFixture]
     public abstract class AsyncConsumeTest : NMSTestSupport

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/BadConsumeTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/BadConsumeTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/BadConsumeTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/BadConsumeTest.cs Mon Oct 29 06:55:09 2007
@@ -17,7 +17,7 @@
 using System;
 using NUnit.Framework;
 
-namespace NMS.Test
+namespace Apache.NMS.Test
 {
     [TestFixture]
     public abstract class BadConsumeTest : NMSTestSupport

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/BytesMessageTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/BytesMessageTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/BytesMessageTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/BytesMessageTest.cs Mon Oct 29 06:55:09 2007
@@ -17,7 +17,7 @@
 using System;
 using NUnit.Framework;
 
-namespace NMS.Test
+namespace Apache.NMS.Test
 {
     [TestFixture]
     public abstract class BytesMessageTest : NMSTestSupport

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/CommonAssemblyInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/CommonAssemblyInfo.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/CommonAssemblyInfo.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/CommonAssemblyInfo.cs Mon Oct 29 06:55:09 2007
@@ -5,7 +5,7 @@
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     This code was generated by a tool.
-//     Runtime Version:2.0.50727.42
+//     Runtime Version:2.0.50727.832
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/ConsumerTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/ConsumerTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/ConsumerTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/ConsumerTest.cs Mon Oct 29 06:55:09 2007
@@ -17,12 +17,11 @@
 using System;
 using NUnit.Framework;
 
-namespace NMS.Test
+namespace Apache.NMS.Test
 {
     [TestFixture]
     public abstract class ConsumerTest : NMSTestSupport
     {
-        public bool persistent;
         public int prefetch;
         public bool durableConsumer;
 

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/DurableTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/DurableTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/DurableTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/DurableTest.cs Mon Oct 29 06:55:09 2007
@@ -17,7 +17,7 @@
 using System;
 using NUnit.Framework;
 
-namespace NMS.Test
+namespace Apache.NMS.Test
 {
     [TestFixture]
     public abstract class DurableTest : NMSTestSupport

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/MapMessageTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/MapMessageTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/MapMessageTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/MapMessageTest.cs Mon Oct 29 06:55:09 2007
@@ -14,13 +14,13 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 
 
 
-namespace NMS.Test
+namespace Apache.NMS.Test
 {
 	[ TestFixture ]
     abstract public class MapMessageTest : NMSTestSupport

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/MessageTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/MessageTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/MessageTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/MessageTest.cs Mon Oct 29 06:55:09 2007
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 
 
-namespace NMS.Test
+namespace Apache.NMS.Test
 {
 	[ TestFixture ]
 	abstract public class MessageTest : NMSTestSupport

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/NMSPropertyTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/NMSPropertyTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/NMSPropertyTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/NMSPropertyTest.cs Mon Oct 29 06:55:09 2007
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-//using ActiveMQ;
-using NMS;
+//using Apache.ActiveMQ;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 
-namespace NMS.Test
+namespace Apache.NMS.Test
 {
     [ TestFixture ]
     abstract public class NMSPropertyTest : NMSTestSupport
@@ -116,7 +116,7 @@
             AssertNonStringProperties(message);
             
             // lets now look at some standard NMS headers
-            Console.WriteLine("NMSExpiration: " + message.NMSExpiration);
+            Console.WriteLine("NMSTimeToLive: " + message.NMSTimeToLive);
             Console.WriteLine("NMSMessageId: " + message.NMSMessageId);
             Console.WriteLine("NMSRedelivered: " + message.NMSRedelivered);
             Console.WriteLine("NMSTimestamp: " + message.NMSTimestamp);

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/NMSTestSupport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/NMSTestSupport.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/NMSTestSupport.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/NMSTestSupport.cs Mon Oct 29 06:55:09 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 
@@ -22,7 +22,7 @@
 /// useful base class for test cases
 /// </summary>
 
-namespace NMS.Test
+namespace Apache.NMS.Test
 {
     [ TestFixture ]
     public abstract class NMSTestSupport

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/TemporaryQueueTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/TemporaryQueueTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/TemporaryQueueTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/TemporaryQueueTest.cs Mon Oct 29 06:55:09 2007
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 using System.Threading;
 
-namespace NMS.Test
+namespace Apache.NMS.Test
 {
     [ TestFixture ]
     abstract public class TemporaryQueueTest : NMSTestSupport {

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/TextMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/TextMessage.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/TextMessage.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/TextMessage.cs Mon Oct 29 06:55:09 2007
@@ -17,7 +17,7 @@
 using System;
 using NUnit.Framework;
 
-namespace NMS.Test
+namespace Apache.NMS.Test
 {
     [TestFixture]
     public abstract class TextMessage : NMSTestSupport

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/TransactionTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/TransactionTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/TransactionTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/NMS/Test/TransactionTest.cs Mon Oct 29 06:55:09 2007
@@ -19,13 +19,11 @@
 using System.Collections;
 
 
-namespace NMS.Test
+namespace Apache.NMS.Test
 {
 	[TestFixture]
     abstract public class TransactionTest : NMSTestSupport
     {
-        private static int destinationCounter;
-        
         IMessageProducer producer;
         IMessageConsumer consumer;
         

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/BadConsumeTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/BadConsumeTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/BadConsumeTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/BadConsumeTest.cs Mon Oct 29 06:55:09 2007
@@ -14,19 +14,19 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
-using Stomp;
+using Apache.Stomp;
 using System;
 
-namespace Stomp
+namespace Apache.Stomp
 {
 	[TestFixture]
     public class BadConsumeTest : NMS.Test.BadConsumeTest
     {
         protected override IConnectionFactory CreateConnectionFactory()
         {
-            return new ConnectionFactory();
+        	return StompTestUtils.CreateStompConnectionFactory();
         }
     }
 }

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/CommonAssemblyInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/CommonAssemblyInfo.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/CommonAssemblyInfo.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/CommonAssemblyInfo.cs Mon Oct 29 06:55:09 2007
@@ -5,7 +5,7 @@
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     This code was generated by a tool.
-//     Runtime Version:2.0.50727.42
+//     Runtime Version:2.0.50727.832
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/ConsumerTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/ConsumerTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/ConsumerTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/ConsumerTest.cs Mon Oct 29 06:55:09 2007
@@ -14,20 +14,20 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
-using Stomp;
+using Apache.Stomp;
 using System;
 
-namespace Stomp
+namespace Apache.Stomp
 {
     [TestFixture]
     public class ConsumerTest : NMS.Test.ConsumerTest
     {
         protected override IConnectionFactory CreateConnectionFactory()
         {
-            return new ConnectionFactory();
-        }
+			return StompTestUtils.CreateStompConnectionFactory();
+		}
     }
 }
 

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/DurableTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/DurableTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/DurableTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/DurableTest.cs Mon Oct 29 06:55:09 2007
@@ -15,17 +15,17 @@
  * limitations under the License.
  */
 using System;
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
 
-namespace Stomp
+namespace Apache.Stomp
 {
     [TestFixture]
     public class DurableTest : NMS.Test.DurableTest
     {
         protected override IConnectionFactory CreateConnectionFactory()
         {
-            return new ConnectionFactory();
-        }
+			return StompTestUtils.CreateStompConnectionFactory();
+		}
     }
 }

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/MapMessageTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/MapMessageTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/MapMessageTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/MapMessageTest.cs Mon Oct 29 06:55:09 2007
@@ -14,12 +14,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using Stomp;
-using NMS;
+using Apache.Stomp;
+using Apache.NMS;
 using NUnit.Framework;
 using System;
 
-namespace Stomp
+namespace Apache.Stomp
 {
 	[ TestFixture ]
     public class MapMessageTest : NMS.Test.MapMessageTest
@@ -31,8 +31,8 @@
 		
         protected override IConnectionFactory CreateConnectionFactory()
         {
-            return new ConnectionFactory();
-        }
+			return StompTestUtils.CreateStompConnectionFactory();
+		}
 		
         protected override void AssertValidMessage(IMessage message)
         {

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/NMSPropertyTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/NMSPropertyTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/NMSPropertyTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/NMSPropertyTest.cs Mon Oct 29 06:55:09 2007
@@ -14,20 +14,20 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
-using Stomp;
+using Apache.Stomp;
 using System;
 
-namespace Stomp
+namespace Apache.Stomp
 {
     [ TestFixture ]
     public class NMSPropertyTest : NMS.Test.NMSPropertyTest
     {
         protected override IConnectionFactory CreateConnectionFactory()
         {
-            return new ConnectionFactory();
-        }
+			return StompTestUtils.CreateStompConnectionFactory();
+		}
 		
 		protected override void AssertNonStringProperties(IMessage message)
 		{

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/StompHelperTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/StompHelperTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/StompHelperTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/StompHelperTest.cs Mon Oct 29 06:55:09 2007
@@ -14,13 +14,13 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
-using ActiveMQ.Commands;
-using ActiveMQ.Transport.Stomp;
+using Apache.ActiveMQ.Commands;
+using Apache.ActiveMQ.Transport.Stomp;
 using System;
 
-namespace Stomp
+namespace Apache.Stomp
 {
     [ TestFixture ]
     public class StompHelperTest

Added: activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/StompTestUtils.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/StompTestUtils.cs?rev=589629&view=auto
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/StompTestUtils.cs (added)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/StompTestUtils.cs Mon Oct 29 06:55:09 2007
@@ -0,0 +1,27 @@
+/*
+ * 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.
+ */
+
+namespace Apache.Stomp
+{
+	class StompTestUtils
+	{
+		public static Apache.NMS.IConnectionFactory CreateStompConnectionFactory()
+		{
+			return new Apache.ActiveMQ.ConnectionFactory("stomp://localhost:61613");
+		}
+	}
+}

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/TemporaryQueueTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/TemporaryQueueTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/TemporaryQueueTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/TemporaryQueueTest.cs Mon Oct 29 06:55:09 2007
@@ -14,19 +14,19 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
-using Stomp;
+using Apache.Stomp;
 using System;
 
-namespace Stomp
+namespace Apache.Stomp
 {
     [ TestFixture ]
     public class TemporaryQueueTest : NMS.Test.TemporaryQueueTest
     {
         protected override IConnectionFactory CreateConnectionFactory()
         {
-            return new ConnectionFactory();
-        }
+			return StompTestUtils.CreateStompConnectionFactory();
+		}
     }
 }

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/TextMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/TextMessage.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/TextMessage.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/TextMessage.cs Mon Oct 29 06:55:09 2007
@@ -14,20 +14,20 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
-using Stomp;
+using Apache.Stomp;
 using System;
 
-namespace Stomp
+namespace Apache.Stomp
 {
 	[ TestFixture ]
     public class TextMessage : NMS.Test.TextMessage
     {
         protected override IConnectionFactory CreateConnectionFactory()
         {
-            return new ConnectionFactory();
-        }
+			return StompTestUtils.CreateStompConnectionFactory();
+		}
     }
 }
 

Modified: activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/TransactionTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/TransactionTest.cs?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/TransactionTest.cs (original)
+++ activemq/activemq-dotnet/trunk/src/test/csharp/Stomp/TransactionTest.cs Mon Oct 29 06:55:09 2007
@@ -14,21 +14,21 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-using NMS;
+using Apache.NMS;
 using NUnit.Framework;
-using Stomp;
+using Apache.Stomp;
 using System;
 
 
-namespace Stomp
+namespace Apache.Stomp
 {
 	[TestFixture]
     public class TransactionTest : NMS.Test.TransactionTest
     {
         protected override IConnectionFactory CreateConnectionFactory()
         {
-            return new ConnectionFactory();
-        }
+			return StompTestUtils.CreateStompConnectionFactory();
+		}
 		
     }
 }

Modified: activemq/activemq-dotnet/trunk/vs2005-activemq-cf20.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-activemq-cf20.csproj?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-activemq-cf20.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-activemq-cf20.csproj Mon Oct 29 06:55:09 2007
@@ -283,7 +283,6 @@
     <Compile Include="src\main\csharp\ActiveMQ\ISynchronization.cs">
       <SubType>Code</SubType>
     </Compile>
-    <Compile Include="src\main\csharp\ActiveMQ\ITrace.cs" />
     <Compile Include="src\main\csharp\ActiveMQ\MessageConsumer.cs">
       <SubType>Code</SubType>
     </Compile>
@@ -678,7 +677,6 @@
     <Compile Include="src\main\csharp\ActiveMQ\Session.cs">
       <SubType>Code</SubType>
     </Compile>
-    <Compile Include="src\main\csharp\ActiveMQ\Tracer.cs" />
     <Compile Include="src\main\csharp\ActiveMQ\TransactionContext.cs">
       <SubType>Code</SubType>
     </Compile>

Modified: activemq/activemq-dotnet/trunk/vs2005-activemq-test.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-activemq-test.csproj?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-activemq-test.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-activemq-test.csproj Mon Oct 29 06:55:09 2007
@@ -6,8 +6,8 @@
     <SchemaVersion>2.0</SchemaVersion>
     <ProjectGuid>{EB943C69-2C9B-45E7-B95B-FB916E7057ED}</ProjectGuid>
     <OutputType>Library</OutputType>
-    <RootNamespace>ActiveMQ</RootNamespace>
-    <AssemblyName>ActiveMQ.Test</AssemblyName>
+    <RootNamespace>Apache.ActiveMQ.Test</RootNamespace>
+    <AssemblyName>NMS.ActiveMQ.Test</AssemblyName>
     <WarningLevel>4</WarningLevel>
     <StartupObject>
     </StartupObject>

Modified: activemq/activemq-dotnet/trunk/vs2005-activemq.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-activemq.csproj?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-activemq.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-activemq.csproj Mon Oct 29 06:55:09 2007
@@ -6,7 +6,7 @@
     <SchemaVersion>2.0</SchemaVersion>
     <ProjectGuid>{08321F42-4B3D-4815-B592-95962BAC3B9F}</ProjectGuid>
     <OutputType>Library</OutputType>
-    <RootNamespace>ActiveMQ</RootNamespace>
+    <RootNamespace>Apache.ActiveMQ</RootNamespace>
     <AssemblyName>NMS.ActiveMQ</AssemblyName>
     <WarningLevel>4</WarningLevel>
     <SignAssembly>false</SignAssembly>
@@ -266,7 +266,6 @@
     <Compile Include="src\main\csharp\ActiveMQ\ISynchronization.cs">
       <SubType>Code</SubType>
     </Compile>
-    <Compile Include="src\main\csharp\ActiveMQ\ITrace.cs" />
     <Compile Include="src\main\csharp\ActiveMQ\MessageConsumer.cs">
       <SubType>Code</SubType>
     </Compile>
@@ -661,7 +660,6 @@
     <Compile Include="src\main\csharp\ActiveMQ\Session.cs">
       <SubType>Code</SubType>
     </Compile>
-    <Compile Include="src\main\csharp\ActiveMQ\Tracer.cs" />
     <Compile Include="src\main\csharp\ActiveMQ\TransactionContext.cs">
       <SubType>Code</SubType>
     </Compile>

Modified: activemq/activemq-dotnet/trunk/vs2005-msmq-test.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-msmq-test.csproj?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-msmq-test.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-msmq-test.csproj Mon Oct 29 06:55:09 2007
@@ -6,7 +6,7 @@
     <SchemaVersion>2.0</SchemaVersion>
     <ProjectGuid>{2F31ED5C-44A2-464A-BD55-2B5B010654E8}</ProjectGuid>
     <OutputType>Library</OutputType>
-    <RootNamespace>MSMQ</RootNamespace>
+    <RootNamespace>Apache.MSMQ.Test</RootNamespace>
     <AssemblyName>NMS.MSMQ.Test</AssemblyName>
     <WarningLevel>4</WarningLevel>
     <StartupObject>

Modified: activemq/activemq-dotnet/trunk/vs2005-msmq.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-msmq.csproj?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-msmq.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-msmq.csproj Mon Oct 29 06:55:09 2007
@@ -6,7 +6,7 @@
     <SchemaVersion>2.0</SchemaVersion>
     <ProjectGuid>{A5FCA129-991B-4CB2-987A-B25E43B0F5EC}</ProjectGuid>
     <OutputType>Library</OutputType>
-    <RootNamespace>MSMQ</RootNamespace>
+    <RootNamespace>Apache.MSMQ</RootNamespace>
     <AssemblyName>NMS.MSMQ</AssemblyName>
     <WarningLevel>4</WarningLevel>
     <StartupObject>

Modified: activemq/activemq-dotnet/trunk/vs2005-nms-cf20.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-nms-cf20.csproj?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-nms-cf20.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-nms-cf20.csproj Mon Oct 29 06:55:09 2007
@@ -70,10 +70,12 @@
     <Compile Include="src\main\csharp\NMS\ITemporaryTopic.cs" />
     <Compile Include="src\main\csharp\NMS\ITextMessage.cs" />
     <Compile Include="src\main\csharp\NMS\ITopic.cs" />
+    <Compile Include="src\main\csharp\NMS\ITrace.cs" />
     <Compile Include="src\main\csharp\NMS\NMSConnectionException.cs" />
     <Compile Include="src\main\csharp\NMS\NMSConstants.cs" />
     <Compile Include="src\main\csharp\NMS\NMSException.cs" />
     <Compile Include="src\main\csharp\NMS\NMSSecurityException.cs" />
+    <Compile Include="src\main\csharp\NMS\Tracer.cs" />
   </ItemGroup>
   <ItemGroup>
     <None Include="activemq-dotnet.snk" />

Modified: activemq/activemq-dotnet/trunk/vs2005-nms-test.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-nms-test.csproj?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-nms-test.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-nms-test.csproj Mon Oct 29 06:55:09 2007
@@ -6,7 +6,7 @@
     <SchemaVersion>2.0</SchemaVersion>
     <ProjectGuid>{2F3ABCF5-EE87-43B1-9DE7-0548FD6A4E52}</ProjectGuid>
     <OutputType>Library</OutputType>
-    <RootNamespace>NMS.Test</RootNamespace>
+    <RootNamespace>Apache.NMS.Test</RootNamespace>
     <AssemblyName>NMS.Test</AssemblyName>
     <WarningLevel>4</WarningLevel>
     <StartupObject>

Modified: activemq/activemq-dotnet/trunk/vs2005-nms.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-nms.csproj?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-nms.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-nms.csproj Mon Oct 29 06:55:09 2007
@@ -6,7 +6,7 @@
     <SchemaVersion>2.0</SchemaVersion>
     <ProjectGuid>{300C1716-0674-4D01-8F5D-151E59A504FE}</ProjectGuid>
     <OutputType>Library</OutputType>
-    <RootNamespace>NMS</RootNamespace>
+    <RootNamespace>Apache.NMS</RootNamespace>
     <AssemblyName>NMS</AssemblyName>
     <WarningLevel>4</WarningLevel>
     <StartupObject>
@@ -55,10 +55,13 @@
     <Compile Include="src\main\csharp\NMS\ITemporaryTopic.cs" />
     <Compile Include="src\main\csharp\NMS\ITextMessage.cs" />
     <Compile Include="src\main\csharp\NMS\ITopic.cs" />
+    <Compile Include="src\main\csharp\NMS\ITrace.cs" />
     <Compile Include="src\main\csharp\NMS\NMSConnectionException.cs" />
     <Compile Include="src\main\csharp\NMS\NMSConstants.cs" />
     <Compile Include="src\main\csharp\NMS\NMSException.cs" />
+    <Compile Include="src\main\csharp\NMS\NMSFactory.cs" />
     <Compile Include="src\main\csharp\NMS\NMSSecurityException.cs" />
+    <Compile Include="src\main\csharp\NMS\Tracer.cs" />
   </ItemGroup>
   <ItemGroup>
     <None Include="activemq-dotnet.snk" />

Modified: activemq/activemq-dotnet/trunk/vs2005-stomp-test.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-stomp-test.csproj?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-stomp-test.csproj (original)
+++ activemq/activemq-dotnet/trunk/vs2005-stomp-test.csproj Mon Oct 29 06:55:09 2007
@@ -6,7 +6,7 @@
     <SchemaVersion>2.0</SchemaVersion>
     <ProjectGuid>{F2F94D96-90F0-4724-A19F-086067556F39}</ProjectGuid>
     <OutputType>Library</OutputType>
-    <RootNamespace>Stomp.Test</RootNamespace>
+    <RootNamespace>Apache.Stomp.Test</RootNamespace>
     <AssemblyName>NMS.Stomp.Test</AssemblyName>
     <WarningLevel>4</WarningLevel>
     <SignAssembly>false</SignAssembly>
@@ -52,10 +52,6 @@
       <Project>{300C1716-0674-4D01-8F5D-151E59A504FE}</Project>
       <Name>vs2005-nms</Name>
     </ProjectReference>
-    <ProjectReference Include="vs2005-stomp.csproj">
-      <Project>{629E243B-AE34-44F5-A7E3-1BA40668E55C}</Project>
-      <Name>vs2005-stomp</Name>
-    </ProjectReference>
   </ItemGroup>
   <ItemGroup>
     <Compile Include="src\test\csharp\Stomp\BadConsumeTest.cs" />
@@ -65,6 +61,7 @@
     <Compile Include="src\test\csharp\Stomp\MapMessageTest.cs" />
     <Compile Include="src\test\csharp\Stomp\NMSPropertyTest.cs" />
     <Compile Include="src\test\csharp\Stomp\StompHelperTest.cs" />
+    <Compile Include="src\test\csharp\Stomp\StompTestUtils.cs" />
     <Compile Include="src\test\csharp\Stomp\TemporaryQueueTest.cs" />
     <Compile Include="src\test\csharp\Stomp\TextMessage.cs" />
     <Compile Include="src\test\csharp\Stomp\TransactionTest.cs" />

Added: activemq/activemq-dotnet/trunk/vs2005-tibco.csproj
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005-tibco.csproj?rev=589629&view=auto
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005-tibco.csproj (added)
+++ activemq/activemq-dotnet/trunk/vs2005-tibco.csproj Mon Oct 29 06:55:09 2007
@@ -0,0 +1,79 @@
+<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>{2AF5EBB5-9873-4B35-A8FC-8B6E74242767}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <RootNamespace>Apache.TibcoEMS</RootNamespace>
+    <AssemblyName>NMS.TIBCO</AssemblyName>
+  </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>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>none</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>build\net-2.0\release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>none</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+    <Reference Include="TIBCO.EMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5b83db8ff05c64ba">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>lib\TIBCO.EMS.dll</HintPath>
+    </Reference>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="src\main\csharp\TIBCO.EMS.cs" />
+    <Compile Include="src\main\csharp\TIBCO\BytesMessage.cs" />
+    <Compile Include="src\main\csharp\TIBCO\CommonAssemblyInfo.cs" />
+    <Compile Include="src\main\csharp\TIBCO\Connection.cs" />
+    <Compile Include="src\main\csharp\TIBCO\ConnectionFactory.cs" />
+    <Compile Include="src\main\csharp\TIBCO\Destination.cs" />
+    <Compile Include="src\main\csharp\TIBCO\Dispatcher.cs" />
+    <Compile Include="src\main\csharp\TIBCO\MapMessage.cs" />
+    <Compile Include="src\main\csharp\TIBCO\Message.cs" />
+    <Compile Include="src\main\csharp\TIBCO\MessageConsumer.cs" />
+    <Compile Include="src\main\csharp\TIBCO\MessageProducer.cs" />
+    <Compile Include="src\main\csharp\TIBCO\MessageProperties.cs" />
+    <Compile Include="src\main\csharp\TIBCO\ObjectMessage.cs" />
+    <Compile Include="src\main\csharp\TIBCO\Queue.cs" />
+    <Compile Include="src\main\csharp\TIBCO\Session.cs" />
+    <Compile Include="src\main\csharp\TIBCO\TemporaryQueue.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Include="src\main\csharp\TIBCO\TemporaryTopic.cs" />
+    <Compile Include="src\main\csharp\TIBCO\TextMessage.cs" />
+    <Compile Include="src\main\csharp\TIBCO\TibcoUtil.cs" />
+    <Compile Include="src\main\csharp\TIBCO\Topic.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="vs2005-nms.csproj">
+      <Project>{300C1716-0674-4D01-8F5D-151E59A504FE}</Project>
+      <Name>vs2005-nms</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="activemq-dotnet.snk" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file

Modified: activemq/activemq-dotnet/trunk/vs2005.sln
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/trunk/vs2005.sln?rev=589629&r1=589628&r2=589629&view=diff
==============================================================================
--- activemq/activemq-dotnet/trunk/vs2005.sln (original)
+++ activemq/activemq-dotnet/trunk/vs2005.sln Mon Oct 29 06:55:09 2007
@@ -17,10 +17,10 @@
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "vs2005-activemq-cf20", "vs2005-activemq-cf20.csproj", "{B166EC33-6048-4231-BCCA-6C5AE55139A3}"
 EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "vs2005-stomp", "vs2005-stomp.csproj", "{629E243B-AE34-44F5-A7E3-1BA40668E55C}"
-EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "vs2005-stomp-test", "vs2005-stomp-test.csproj", "{F2F94D96-90F0-4724-A19F-086067556F39}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "vs2005-tibco", "vs2005-tibco.csproj", "{2AF5EBB5-9873-4B35-A8FC-8B6E74242767}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -59,14 +59,14 @@
 		{B166EC33-6048-4231-BCCA-6C5AE55139A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{B166EC33-6048-4231-BCCA-6C5AE55139A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{B166EC33-6048-4231-BCCA-6C5AE55139A3}.Release|Any CPU.Build.0 = Release|Any CPU
-		{629E243B-AE34-44F5-A7E3-1BA40668E55C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{629E243B-AE34-44F5-A7E3-1BA40668E55C}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{629E243B-AE34-44F5-A7E3-1BA40668E55C}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{629E243B-AE34-44F5-A7E3-1BA40668E55C}.Release|Any CPU.Build.0 = Release|Any CPU
 		{F2F94D96-90F0-4724-A19F-086067556F39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{F2F94D96-90F0-4724-A19F-086067556F39}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{F2F94D96-90F0-4724-A19F-086067556F39}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{F2F94D96-90F0-4724-A19F-086067556F39}.Release|Any CPU.Build.0 = Release|Any CPU
+		{2AF5EBB5-9873-4B35-A8FC-8B6E74242767}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{2AF5EBB5-9873-4B35-A8FC-8B6E74242767}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{2AF5EBB5-9873-4B35-A8FC-8B6E74242767}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{2AF5EBB5-9873-4B35-A8FC-8B6E74242767}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE



Mime
View raw message