TsgcWSPClient_AMQP › Methods › UnBindQueueEx
Removes a binding synchronously and returns True on queue.unbind-ok.
function UnBindQueueEx(const aChannel, aQueue, aExchange, aRoutingKey: string; aTimeout: Integer = CS_AMQP_DEFAULT_TIMEOUT; const aArguments: string = ''): Boolean;
| 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. |
aTimeout | Integer | Maximum time in milliseconds to wait for the broker confirmation before returning False. |
aArguments | const string | Optional JSON-encoded field-table with additional arguments. |
True when the broker acknowledged the unbind within aTimeout. (Boolean)
Extended synchronous variant of UnBindQueue. Waits for queue.unbind-ok or times out.
sgcWSPClient_AMQP1.UnBindQueueEx('ch1', 'orders', 'ex.orders', 'orders.new');