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

Message producers with no associated destination

In the C and C++ API, a message producer can be created with a null destination.

The C API allows NULL to be passed into the xmsSessCreateProducer() function, to create a message producer with no associated destination. In this case, the destination must be specified when the message is sent. For further details about creating a message producer, see Session for C.

To create a message producer with no associated destination when using the C++ API, a default xms::Destination object created using the default constructor must be passed into the Session::createProducer() method. For further details about creating a message producer, see Session for C++.


Concept topic

Terms of Use | Rate this page

Last updated: 7 Dec 2005

© Copyright IBM Corporation 2005. All Rights Reserved.