The NMS Class Library (.Net Messaging Library)

NMS Namespace

The NMS namespace defines the .Net Message System API which is an interface to messaging systems rather like JMS is for Java.

Namespace hierarchy

Classes

Class Description
NMSConnectionException Represents a connection failure.
NMSException Represents a NMS exception

Interfaces

Interface Description
IBytesMessage Represents a binary based message
IConnection Represents a connection with a message broker
IConnectionFactory A Factory of IConnection objects
IDestination A base interface for destinations such as queues or topics
IMapMessage Represents a Map message which contains key and value pairs which are of primitive types
IMessage Represents a message either to be sent to a message broker or received from a message broker
IMessageConsumer A consumer of messages
IMessageProducer An object capable of sending messages to some destination
IPrimitiveMap Represents a Map of primitive types where the keys are all string instances and the values are strings or numbers.
IQueue Represents a queue in a message broker. A message sent to a queue is delivered to at most one consumer on the queue.
ISession Represents a single unit of work on an IConnection. So the ISession can be used to perform transactional receive and sends
IStartable A lifecycle for NMS objects to indicate they can be started
IStoppable A lifecycle for NMS objects to indicate they can be stopped
ITemporaryQueue Represents a temporary queue which exists for the duration of the IConnection which created it.
ITemporaryTopic Represents a temporary topic which exists for the duration of the IConnection which created it.
ITextMessage Represents a text based message
ITopic Represents a topic in a message broker. A message sent to a topic is delivered to all consumers on the topic who are interested in the message.

Delegates

Delegate Description
MessageListener A delegate that can receive messages async.

Enumerations

Enumeration Description
AcknowledgementMode The mode used to acknowledge messages after they are consumed
DestinationType Represents the type of the destination such as a queue or topic.