Message Service Clients for C/C++ and .NET, Version 1.2
Operating Systems: Linux, Windows
Writing .NET applications
This section provides
information that you might find useful when writing XMS.NET applications.
The section contains
the following topics:
Sub-topics
Destinations in .NET
In .NET,
destinations are created according to protocol type and can only be used on
the protocol type for which they are created.
Handling of non-existent properties in .NET
The handling of non-existent properties in the XMS.NET is broadly consistent
with the JMS specification, whilst also maintaining some consistency with
the C and C++ implementations of XMS.
Handling errors in .NET XMS.NET exceptions are
all derived from System.Exception. XMS method
calls can throw specific XMS exceptions
such as MessageFormatException, general XMSExceptions, or system exceptions
such as NullReferenceException.
Using message and exception listeners in .NET
A .NET application
uses a message listener to receive messages asynchronously, and uses an exception
listener to be notified asynchronously of a problem with a connection.