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

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.

Two functions are provided for creating destinations, one for topics and one for queues:

These functions are available on the following two objects in the API:

In both cases these methods can accept a URI style string, which can include parameters, in the following format:

"topic://some/topic/name?priority=5"

Alternatively, these methods can accept just a destination name, that, is, a name without a topic:// or queue:// prefix and without parameters.

So, the following URI style string:

CreateTopic("topic://some/topic/name");

would produce the same result as the following destination name:

CreateTopic("some/topic/name");

As for WebSphere service integration bus JMS, topics can also be specified in a shorthand form which includes both the topicname and topicspace but cannot include parameters:

CreateTopic("topicspace:topicname");

Concept topic

Terms of Use | Rate this page

Last updated: 7 Dec 2005

© Copyright IBM Corporation 2005. All Rights Reserved.