TsgcWSPClient_AMQP › Events › OnAMQPQueueUnBind
Fires when the server confirms that a queue has been unbound from an exchange (queue.unbind-ok).
property OnAMQPQueueUnBind: TsgcAMQPQueueUnBindEvent;
// TsgcAMQPQueueUnBindEvent = procedure(Sender: TObject; const aChannel, aQueue, aExchange: string) of object
—
Raised in response to UnBindQueue. After this event the binding between aExchange and aQueue (for the routing key specified on the unbind call) no longer exists, so the exchange will stop delivering matching messages to that queue.
procedure TForm1.oAMQPAMQPQueueUnBind(Sender: TObject;
const aChannel, aQueue, aExchange: string);
begin
DoLog(Format('#AMQP Queue %s unbound from exchange %s', [aQueue, aExchange]));
end;