TsgcWSPClient_AMQP › Events › OnAMQPQueueBind
Fires when the server confirms that a queue has been bound to an exchange (queue.bind-ok).
property OnAMQPQueueBind: TsgcAMQPQueueBindEvent;
// TsgcAMQPQueueBindEvent = procedure(Sender: TObject; const aChannel, aQueue, aExchange: string) of object
—
Raised in response to BindQueue. From this point the exchange will route messages that match the declared routing key (and headers, for header exchanges) to aQueue. It is safe to start consumers or to publish messages to aExchange as soon as this event fires.
procedure TForm1.oAMQPAMQPQueueBind(Sender: TObject;
const aChannel, aQueue, aExchange: string);
begin
DoLog(Format('#AMQP Queue %s bound to exchange %s', [aQueue, aExchange]));
end;