This method creates an exchange if it does not already exist, and if the exchange exists, verifies that it is of the correct and expected class.
Namespace:
Kaazing.AMQPAssembly: Kaazing.AMQP (in Kaazing.AMQP.dll)
Syntax
Visual Basic |
---|
Public Function DeclareExchange ( _ exchange As String, _ type As String, _ passive As Boolean, _ durable As Boolean, _ noWait As Boolean, _ arguments As AmqpArguments _ ) As AmqpChannel |
C# |
---|
public AmqpChannel DeclareExchange( string exchange, string type, bool passive, bool durable, bool noWait, AmqpArguments arguments ) |
Visual C++ |
---|
public: AmqpChannel^ DeclareExchange( String^ exchange, String^ type, bool passive, bool durable, bool noWait, AmqpArguments^ arguments ) |
Parameters
- exchange
- Type: System..::..String
Exchange
- type
- Type: System..::..String
Exchange type
- passive
- Type: System..::..Boolean
No not create exchange
- durable
- Type: System..::..Boolean
Request a durable exchange
- noWait
- Type: System..::..Boolean
No - Wait
- arguments
- Type: Kaazing.AMQP..::..AmqpArguments
Arguments for declaration