Creates a producer of messages on a given destination
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
Visual Basic |
---|
Function CreateProducer ( _ destination As IDestination _ ) As IMessageProducer |
C# |
---|
IMessageProducer CreateProducer( IDestination destination ) |
Visual C++ |
---|
IMessageProducer^ CreateProducer( IDestination^ destination ) |
JavaScript |
---|
function createProducer(destination); |
Parameters
- destination
- Type: Apache.NMS..::..IDestination