TsgcWSPClient_AMQPMethods › UnBindQueue

UnBindQueue Method

Removes a binding between a queue and an exchange (queue.unbind).

Syntax

procedure UnBindQueue(const aChannel, aQueue, aExchange, aRoutingKey: string; const aArguments: string = '');

Parameters

NameTypeDescription
aChannelconst stringName of the open AMQP channel on which the operation is issued.
aQueueconst stringName of the queue.
aExchangeconst stringName of the exchange.
aRoutingKeyconst stringRouting key used to match messages published to the exchange.
aArgumentsconst stringOptional JSON-encoded field-table with additional arguments.

Remarks

Undoes a previous BindQueue call for the given routing key. The queue and exchange themselves are not affected, only the binding is removed.

Example

sgcWSPClient_AMQP1.UnBindQueue('ch1', 'orders', 'ex.orders', 'orders.new');

Back to Methods