Creates a consumer of messages on a given destination with a selector

Namespace:  Apache.NMS
Assembly:  Apache.NMS (in Apache.NMS.dll)

Syntax

Visual Basic
Function CreateConsumer ( _
	destination As IDestination, _
	selector As String, _
	noLocal As Boolean _
) As IMessageConsumer
C#
IMessageConsumer CreateConsumer(
	IDestination destination,
	string selector,
	bool noLocal
)
Visual C++
IMessageConsumer^ CreateConsumer(
	IDestination^ destination, 
	String^ selector, 
	bool noLocal
)
JavaScript
function createConsumer(destination, selector, noLocal);

Parameters

destination
Type: Apache.NMS..::..IDestination
selector
Type: System..::..String
noLocal
Type: System..::..Boolean

See Also