WebSphere Message Service Clients for C/C++ and .NET, Version 1.2 Operating Systems: Linux, Windows

Destinations

An XMS application uses a Destination object to specify the destination of messages that are being sent, and the source of messages that are being received.

An XMS application can either create a Destination object at runtime, or obtain a predefined destination from the repository of administered objects.

As with a connection factory, the most flexible way for an XMS application to specify a destination is to define it as an administered object. This approach allows applications written in C, C++ and .NET languages, as well as Java, to share the same definition of the destination. The properties of administered Destination objects can be changed without changing any code.

You can create a destination for a C or C++ application in either of the following ways:

For further information, see Destination for C or Destination for C++.

For further information about creating a URI, see Topic uniform resource identifiers (URIs) and Queue uniform resource identifiers (URIs).

For .NET applications, you create a destination by using the CreateTopic or CreateQueue method. These two methods are available in both the ISession and XMSFactoryFactory objects in the .NET API. For further information, see Destinations in .NET and IDestination.

Related reference
Destination (for the C class)
Destination (for the C++ class)
IDestination (for the .NET interface)
Properties of Destination

Concept topic

Terms of Use | Rate this page

Last updated: 7 Dec 2005

© Copyright IBM Corporation 2005. All Rights Reserved.