Creates a producer of messages on a given destination

Namespace:  Apache.NMS
Assembly:  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

See Also