You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2007/10/29 20:05:38 UTC
svn commit: r589807 -
/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/
Author: chirino
Date: Mon Oct 29 12:05:34 2007
New Revision: 589807
URL: http://svn.apache.org/viewvc?rev=589807&view=rev
Log:
namespace now matches module name
Modified:
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/BytesMessage.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Connection.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/ConnectionFactory.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Destination.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Dispatcher.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MapMessage.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Message.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageConsumer.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageProducer.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageProperties.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/ObjectMessage.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Queue.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Session.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TemporaryQueue.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TemporaryTopic.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TextMessage.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TibcoUtil.cs
activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Topic.cs
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/BytesMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/BytesMessage.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/BytesMessage.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/BytesMessage.cs Mon Oct 29 12:05:34 2007
@@ -15,9 +15,9 @@
* limitations under the License.
*/
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
- class BytesMessage : Apache.TibcoEMS.Message, Apache.NMS.IBytesMessage
+ class BytesMessage : Apache.NMS.EMS.Message, Apache.NMS.IBytesMessage
{
public TIBCO.EMS.BytesMessage tibcoBytesMessage
{
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Connection.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Connection.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Connection.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Connection.cs Mon Oct 29 12:05:34 2007
@@ -16,7 +16,7 @@
*/
using System;
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
/// <summary>
/// Represents a NMS connection to TIBCO.
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/ConnectionFactory.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/ConnectionFactory.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/ConnectionFactory.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/ConnectionFactory.cs Mon Oct 29 12:05:34 2007
@@ -17,7 +17,7 @@
using System;
using System.Collections;
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
/// <summary>
/// A Factory that can estbalish NMS connections to TIBCO
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Destination.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Destination.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Destination.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Destination.cs Mon Oct 29 12:05:34 2007
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
public class Destination
{
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Dispatcher.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Dispatcher.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Dispatcher.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Dispatcher.cs Mon Oct 29 12:05:34 2007
@@ -18,7 +18,7 @@
using System.Collections;
using System.Threading;
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
/// <summary>
/// Handles the multi-threaded dispatching between the transport and the consumers
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MapMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MapMessage.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MapMessage.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MapMessage.cs Mon Oct 29 12:05:34 2007
@@ -18,9 +18,9 @@
using System;
using System.Collections;
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
- class MapMessage : Apache.TibcoEMS.Message, Apache.NMS.IMapMessage, Apache.NMS.IPrimitiveMap
+ class MapMessage : Apache.NMS.EMS.Message, Apache.NMS.IMapMessage, Apache.NMS.IPrimitiveMap
{
public TIBCO.EMS.MapMessage tibcoMapMessage
{
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Message.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Message.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Message.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Message.cs Mon Oct 29 12:05:34 2007
@@ -16,7 +16,7 @@
*/
using System;
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
class Message : Apache.NMS.IMessage
{
@@ -137,7 +137,7 @@
public Apache.NMS.IDestination NMSReplyTo
{
get { return TibcoUtil.ToNMSDestination(this.tibcoMessage.ReplyTo); }
- set { this.tibcoMessage.ReplyTo = ((Apache.TibcoEMS.Destination) value).tibcoDestination; }
+ set { this.tibcoMessage.ReplyTo = ((Apache.NMS.EMS.Destination) value).tibcoDestination; }
}
/// <summary>
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageConsumer.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageConsumer.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageConsumer.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageConsumer.cs Mon Oct 29 12:05:34 2007
@@ -17,17 +17,17 @@
using System;
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
class MessageConsumer : Apache.NMS.IMessageConsumer
{
- private readonly Apache.TibcoEMS.Dispatcher dispatcher = new Apache.TibcoEMS.Dispatcher();
- protected readonly Apache.TibcoEMS.Session nmsSession;
+ private readonly Apache.NMS.EMS.Dispatcher dispatcher = new Apache.NMS.EMS.Dispatcher();
+ protected readonly Apache.NMS.EMS.Session nmsSession;
public TIBCO.EMS.MessageConsumer tibcoMessageConsumer;
private bool closed = false;
private bool disposed = false;
- public MessageConsumer(Apache.TibcoEMS.Session session, TIBCO.EMS.MessageConsumer consumer)
+ public MessageConsumer(Apache.NMS.EMS.Session session, TIBCO.EMS.MessageConsumer consumer)
{
this.nmsSession = session;
this.tibcoMessageConsumer = consumer;
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageProducer.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageProducer.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageProducer.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageProducer.cs Mon Oct 29 12:05:34 2007
@@ -17,16 +17,16 @@
using System;
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
class MessageProducer : Apache.NMS.IMessageProducer
{
- protected readonly Apache.TibcoEMS.Session nmsSession;
+ protected readonly Apache.NMS.EMS.Session nmsSession;
public TIBCO.EMS.MessageProducer tibcoMessageProducer;
private bool closed = false;
private bool disposed = false;
- public MessageProducer(Apache.TibcoEMS.Session session, TIBCO.EMS.MessageProducer producer)
+ public MessageProducer(Apache.NMS.EMS.Session session, TIBCO.EMS.MessageProducer producer)
{
this.nmsSession = session;
this.tibcoMessageProducer = producer;
@@ -44,7 +44,7 @@
/// </summary>
public void Send(Apache.NMS.IMessage message)
{
- Apache.TibcoEMS.Message msg = (Apache.TibcoEMS.Message) message;
+ Apache.NMS.EMS.Message msg = (Apache.NMS.EMS.Message) message;
long timeToLive = (long) message.NMSTimeToLive.TotalMilliseconds;
if(0 == timeToLive)
@@ -64,7 +64,7 @@
/// </summary>
public void Send(Apache.NMS.IMessage message, bool persistent, byte priority, TimeSpan timeToLive)
{
- Apache.TibcoEMS.Message msg = (Apache.TibcoEMS.Message) message;
+ Apache.NMS.EMS.Message msg = (Apache.NMS.EMS.Message) message;
this.tibcoMessageProducer.Send(
msg.tibcoMessage,
@@ -78,8 +78,8 @@
/// </summary>
public void Send(Apache.NMS.IDestination destination, Apache.NMS.IMessage message)
{
- Apache.TibcoEMS.Destination dest = (Apache.TibcoEMS.Destination) destination;
- Apache.TibcoEMS.Message msg = (Apache.TibcoEMS.Message) message;
+ Apache.NMS.EMS.Destination dest = (Apache.NMS.EMS.Destination) destination;
+ Apache.NMS.EMS.Message msg = (Apache.NMS.EMS.Message) message;
long timeToLive = (long) message.NMSTimeToLive.TotalMilliseconds;
if(0 == timeToLive)
@@ -101,8 +101,8 @@
public void Send(Apache.NMS.IDestination destination, Apache.NMS.IMessage message,
bool persistent, byte priority, TimeSpan timeToLive)
{
- Apache.TibcoEMS.Destination dest = (Apache.TibcoEMS.Destination) destination;
- Apache.TibcoEMS.Message msg = (Apache.TibcoEMS.Message) message;
+ Apache.NMS.EMS.Destination dest = (Apache.NMS.EMS.Destination) destination;
+ Apache.NMS.EMS.Message msg = (Apache.NMS.EMS.Message) message;
this.tibcoMessageProducer.Send(
dest.tibcoDestination,
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageProperties.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageProperties.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageProperties.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/MessageProperties.cs Mon Oct 29 12:05:34 2007
@@ -17,7 +17,7 @@
using System.Collections;
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
public class MessageProperties : Apache.NMS.IPrimitiveMap
{
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/ObjectMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/ObjectMessage.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/ObjectMessage.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/ObjectMessage.cs Mon Oct 29 12:05:34 2007
@@ -15,9 +15,9 @@
* limitations under the License.
*/
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
- class ObjectMessage : Apache.TibcoEMS.Message, Apache.NMS.IObjectMessage
+ class ObjectMessage : Apache.NMS.EMS.Message, Apache.NMS.IObjectMessage
{
public TIBCO.EMS.ObjectMessage tibcoObjectMessage
{
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Queue.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Queue.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Queue.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Queue.cs Mon Oct 29 12:05:34 2007
@@ -15,9 +15,9 @@
* limitations under the License.
*/
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
- public class Queue : Apache.TibcoEMS.Destination, Apache.NMS.IQueue
+ public class Queue : Apache.NMS.EMS.Destination, Apache.NMS.IQueue
{
public TIBCO.EMS.Queue tibcoQueue
{
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Session.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Session.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Session.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Session.cs Mon Oct 29 12:05:34 2007
@@ -16,7 +16,7 @@
*/
using System;
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
/// <summary>
/// Represents a NMS session to TIBCO.
@@ -46,35 +46,35 @@
public Apache.NMS.IMessageProducer CreateProducer(Apache.NMS.IDestination destination)
{
- Apache.TibcoEMS.Destination destinationObj = (Apache.TibcoEMS.Destination) destination;
+ Apache.NMS.EMS.Destination destinationObj = (Apache.NMS.EMS.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;
+ Apache.NMS.EMS.Destination destinationObj = (Apache.NMS.EMS.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;
+ Apache.NMS.EMS.Destination destinationObj = (Apache.NMS.EMS.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;
+ Apache.NMS.EMS.Destination destinationObj = (Apache.NMS.EMS.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;
+ Apache.NMS.EMS.Topic topicObj = (Apache.NMS.EMS.Topic) destination;
return TibcoUtil.ToNMSMessageConsumer(this, this.tibcoSession.CreateDurableSubscriber(topicObj.tibcoTopic, name, selector, noLocal));
}
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TemporaryQueue.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TemporaryQueue.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TemporaryQueue.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TemporaryQueue.cs Mon Oct 29 12:05:34 2007
@@ -15,9 +15,9 @@
* limitations under the License.
*/
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
- class TemporaryQueue : Apache.TibcoEMS.Destination, Apache.NMS.ITemporaryQueue
+ class TemporaryQueue : Apache.NMS.EMS.Destination, Apache.NMS.ITemporaryQueue
{
public TIBCO.EMS.TemporaryQueue tibcoTemporaryQueue
{
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TemporaryTopic.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TemporaryTopic.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TemporaryTopic.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TemporaryTopic.cs Mon Oct 29 12:05:34 2007
@@ -15,9 +15,9 @@
* limitations under the License.
*/
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
- class TemporaryTopic : Apache.TibcoEMS.Destination, Apache.NMS.ITemporaryTopic
+ class TemporaryTopic : Apache.NMS.EMS.Destination, Apache.NMS.ITemporaryTopic
{
public TIBCO.EMS.TemporaryTopic tibcoTemporaryTopic
{
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TextMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TextMessage.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TextMessage.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TextMessage.cs Mon Oct 29 12:05:34 2007
@@ -15,9 +15,9 @@
* limitations under the License.
*/
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
- class TextMessage : Apache.TibcoEMS.Message, Apache.NMS.ITextMessage
+ class TextMessage : Apache.NMS.EMS.Message, Apache.NMS.ITextMessage
{
public TIBCO.EMS.TextMessage tibcoTextMessage
{
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TibcoUtil.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TibcoUtil.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TibcoUtil.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/TibcoUtil.cs Mon Oct 29 12:05:34 2007
@@ -16,7 +16,7 @@
*/
using System;
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
public class TibcoUtil
{
@@ -29,44 +29,44 @@
public static Apache.NMS.IConnection ToNMSConnection(TIBCO.EMS.Connection tibcoConnection)
{
return (null != tibcoConnection
- ? new Apache.TibcoEMS.Connection(tibcoConnection)
+ ? new Apache.NMS.EMS.Connection(tibcoConnection)
: null);
}
public static Apache.NMS.ISession ToNMSSession(TIBCO.EMS.Session tibcoSession)
{
return (null != tibcoSession
- ? new Apache.TibcoEMS.Session(tibcoSession)
+ ? new Apache.NMS.EMS.Session(tibcoSession)
: null);
}
- public static Apache.NMS.IMessageProducer ToNMSMessageProducer(Apache.TibcoEMS.Session session,
+ public static Apache.NMS.IMessageProducer ToNMSMessageProducer(Apache.NMS.EMS.Session session,
TIBCO.EMS.MessageProducer tibcoMessageProducer)
{
return (null != tibcoMessageProducer
- ? new Apache.TibcoEMS.MessageProducer(session, tibcoMessageProducer)
+ ? new Apache.NMS.EMS.MessageProducer(session, tibcoMessageProducer)
: null);
}
- public static Apache.NMS.IMessageConsumer ToNMSMessageConsumer(Apache.TibcoEMS.Session session,
+ public static Apache.NMS.IMessageConsumer ToNMSMessageConsumer(Apache.NMS.EMS.Session session,
TIBCO.EMS.MessageConsumer tibcoMessageConsumer)
{
return (null != tibcoMessageConsumer
- ? new Apache.TibcoEMS.MessageConsumer(session, tibcoMessageConsumer)
+ ? new Apache.NMS.EMS.MessageConsumer(session, tibcoMessageConsumer)
: null);
}
public static Apache.NMS.IQueue ToNMSQueue(TIBCO.EMS.Queue tibcoQueue)
{
return (null != tibcoQueue
- ? new Apache.TibcoEMS.Queue(tibcoQueue)
+ ? new Apache.NMS.EMS.Queue(tibcoQueue)
: null);
}
public static Apache.NMS.ITopic ToNMSTopic(TIBCO.EMS.Topic tibcoTopic)
{
return (null != tibcoTopic
- ? new Apache.TibcoEMS.Topic(tibcoTopic)
+ ? new Apache.NMS.EMS.Topic(tibcoTopic)
: null);
}
@@ -74,7 +74,7 @@
TIBCO.EMS.TemporaryQueue tibcoTemporaryQueue)
{
return (null != tibcoTemporaryQueue
- ? new Apache.TibcoEMS.TemporaryQueue(tibcoTemporaryQueue)
+ ? new Apache.NMS.EMS.TemporaryQueue(tibcoTemporaryQueue)
: null);
}
@@ -82,7 +82,7 @@
TIBCO.EMS.TemporaryTopic tibcoTemporaryTopic)
{
return (null != tibcoTemporaryTopic
- ? new Apache.TibcoEMS.TemporaryTopic(tibcoTemporaryTopic)
+ ? new Apache.NMS.EMS.TemporaryTopic(tibcoTemporaryTopic)
: null);
}
@@ -134,14 +134,14 @@
}
return (null != tibcoMessage
- ? new Apache.TibcoEMS.Message(tibcoMessage)
+ ? new Apache.NMS.EMS.Message(tibcoMessage)
: null);
}
public static Apache.NMS.ITextMessage ToNMSTextMessage(TIBCO.EMS.TextMessage tibcoTextMessage)
{
return (null != tibcoTextMessage
- ? new Apache.TibcoEMS.TextMessage(tibcoTextMessage)
+ ? new Apache.NMS.EMS.TextMessage(tibcoTextMessage)
: null);
}
@@ -149,14 +149,14 @@
TIBCO.EMS.BytesMessage tibcoBytesMessage)
{
return (null != tibcoBytesMessage
- ? new Apache.TibcoEMS.BytesMessage(tibcoBytesMessage)
+ ? new Apache.NMS.EMS.BytesMessage(tibcoBytesMessage)
: null);
}
public static Apache.NMS.IMapMessage ToNMSMapMessage(TIBCO.EMS.MapMessage tibcoMapMessage)
{
return (null != tibcoMapMessage
- ? new Apache.TibcoEMS.MapMessage(tibcoMapMessage)
+ ? new Apache.NMS.EMS.MapMessage(tibcoMapMessage)
: null);
}
@@ -164,7 +164,7 @@
TIBCO.EMS.ObjectMessage tibcoObjectMessage)
{
return (null != tibcoObjectMessage
- ? new Apache.TibcoEMS.ObjectMessage(tibcoObjectMessage)
+ ? new Apache.NMS.EMS.ObjectMessage(tibcoObjectMessage)
: null);
}
@@ -232,7 +232,7 @@
public static Apache.NMS.IPrimitiveMap ToMessageProperties(TIBCO.EMS.Message tibcoMessage)
{
return (null != tibcoMessage
- ? new Apache.TibcoEMS.MessageProperties(tibcoMessage)
+ ? new Apache.NMS.EMS.MessageProperties(tibcoMessage)
: null);
}
Modified: activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Topic.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Topic.cs?rev=589807&r1=589806&r2=589807&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Topic.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.EMS/trunk/src/main/csharp/EMS/Topic.cs Mon Oct 29 12:05:34 2007
@@ -15,9 +15,9 @@
* limitations under the License.
*/
-namespace Apache.TibcoEMS
+namespace Apache.NMS.EMS
{
- public class Topic : Apache.TibcoEMS.Destination, Apache.NMS.ITopic
+ public class Topic : Apache.NMS.EMS.Destination, Apache.NMS.ITopic
{
public TIBCO.EMS.Topic tibcoTopic
{