TsgcWSPClient_AMQP › Methods › UnBindQueue
Removes a binding between a queue and an exchange (queue.unbind).
procedure UnBindQueue(const aChannel, aQueue, aExchange, aRoutingKey: string; const aArguments: string = '');
| Name | Type | Description |
|---|---|---|
aChannel | const string | Name of the open AMQP channel on which the operation is issued. |
aQueue | const string | Name of the queue. |
aExchange | const string | Name of the exchange. |
aRoutingKey | const string | Routing key used to match messages published to the exchange. |
aArguments | const string | Optional JSON-encoded field-table with additional arguments. |
Undoes a previous BindQueue call for the given routing key. The queue and exchange themselves are not affected, only the binding is removed.
sgcWSPClient_AMQP1.UnBindQueue('ch1', 'orders', 'ex.orders', 'orders.new');