This method asks the server to start a "consumer", which is a transient request for messages from a specific queue.

Namespace:  Kaazing.AMQP
Assembly:  Kaazing.AMQP (in Kaazing.AMQP.dll)

Syntax

Visual Basic
Public Function ConsumeBasic ( _
	queue As String, _
	consumerTag As String, _
	noLocal As Boolean, _
	noAck As Boolean, _
	exclusive As Boolean, _
	noWait As Boolean, _
	arguments As AmqpArguments, _
	callback As AmqpEventHandler _
) As AmqpChannel
C#
public AmqpChannel ConsumeBasic(
	string queue,
	string consumerTag,
	bool noLocal,
	bool noAck,
	bool exclusive,
	bool noWait,
	AmqpArguments arguments,
	AmqpEventHandler callback
)
Visual C++
public:
AmqpChannel^ ConsumeBasic(
	String^ queue, 
	String^ consumerTag, 
	bool noLocal, 
	bool noAck, 
	bool exclusive, 
	bool noWait, 
	AmqpArguments^ arguments, 
	AmqpEventHandler^ callback
)

Parameters

queue
Type: System..::..String
Queue
consumerTag
Type: System..::..String
Consumer - Tag
noLocal
Type: System..::..Boolean
No - Local
noAck
Type: System..::..Boolean
No - Ack
exclusive
Type: System..::..Boolean
request exclusive access
noWait
Type: System..::..Boolean
No - Wait
arguments
Type: Kaazing.AMQP..::..AmqpArguments
arguments for declaration
callback
Type: Kaazing.AMQP..::..AmqpEventHandler
Method to be called on success

Return Value

AmqpChannel

See Also