This method creates or checks a queue.
Namespace:
Kaazing.AMQPAssembly: Kaazing.AMQP (in Kaazing.AMQP.dll)
Syntax
Visual Basic |
---|
Public Function DeclareQueue ( _ queue As String, _ passive As Boolean, _ durable As Boolean, _ exclusive As Boolean, _ autoDelete As Boolean, _ noWait As Boolean, _ arguments As AmqpArguments, _ callback As AmqpEventHandler _ ) As AmqpChannel |
C# |
---|
public AmqpChannel DeclareQueue( string queue, bool passive, bool durable, bool exclusive, bool autoDelete, bool noWait, AmqpArguments arguments, AmqpEventHandler callback ) |
Visual C++ |
---|
public: AmqpChannel^ DeclareQueue( String^ queue, bool passive, bool durable, bool exclusive, bool autoDelete, bool noWait, AmqpArguments^ arguments, AmqpEventHandler^ callback ) |
Parameters
- queue
- Type: System..::..String
Queue
- passive
- Type: System..::..Boolean
Do not create queue
- durable
- Type: System..::..Boolean
Request an durabe queue
- exclusive
- Type: System..::..Boolean
Request an exclusive queue
- autoDelete
- Type: System..::..Boolean
Auto - Delete queue when unused
- 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