TsgcWSPClient_AMQP › Events

TsgcWSPClient_AMQP Events

Events you can handle, grouped by purpose, followed by the full alphabetical list.

Lifecycle

NameDescription
OnAMQPConnectFires after the AMQP connection handshake completes successfully (connection.open-ok).
OnAMQPDisconnectFires when the server or the client closes the AMQP connection (connection.close).
OnAMQPExceptionFires when an unhandled exception is raised inside the AMQP protocol or reader thread.
OnAMQPHeartBeatFires every time a heartbeat frame is exchanged with the server.

Authentication

NameDescription
OnAMQPAuthenticationLets the application choose the SASL mechanism and supply the credentials during the AMQP login.
OnAMQPChallengeFires when the broker sends a SASL challenge that the client must answer.

Channels

NameDescription
OnAMQPChannelOpenFires when the server confirms that a channel has been opened (channel.open-ok).
OnAMQPChannelCloseFires when a channel is closed by either peer (channel.close).
OnAMQPChannelFlowFires when the peer asks to pause or resume content traffic on a channel (channel.flow).

Exchanges

NameDescription
OnAMQPExchangeDeclareFires when the server confirms that an exchange has been declared (exchange.declare-ok).
OnAMQPExchangeDeleteFires when the server confirms that an exchange has been deleted (exchange.delete-ok).

Queues

NameDescription
OnAMQPQueueDeclareFires when the server confirms that a queue has been declared (queue.declare-ok).
OnAMQPQueueBindFires when the server confirms that a queue has been bound to an exchange (queue.bind-ok).
OnAMQPQueueUnBindFires when the server confirms that a queue has been unbound from an exchange (queue.unbind-ok).
OnAMQPQueuePurgeFires when the server confirms that a queue has been purged (queue.purge-ok).
OnAMQPQueueDeleteFires when the server confirms that a queue has been deleted (queue.delete-ok).

Consuming

NameDescription
OnAMQPBasicQoSFires when the server confirms that a QoS prefetch setting has been applied (basic.qos-ok).
OnAMQPBasicConsumeFires when the server confirms that a consumer has been registered (basic.consume-ok).
OnAMQPBasicCancelConsumeFires when the server confirms that a consumer has been cancelled (basic.cancel-ok).
OnAMQPBasicDeliverFires when the broker pushes a message to an active consumer (basic.deliver).
OnAMQPBasicGetOkFires when a synchronous basic.get call returns a message (basic.get-ok).
OnAMQPBasicGetEmptyFires when a synchronous basic.get finds the queue empty (basic.get-empty).
OnAMQPBasicReturnFires when a published message is returned by the broker because it could not be routed (basic.return).
OnAMQPBasicRecoverOkFires when the server confirms that unacknowledged messages have been redelivered (basic.recover-ok).

Transactions

NameDescription
OnAMQPTransactionOkFires when the server acknowledges a transaction method: tx.select-ok, tx.commit-ok or tx.rollback-ok.

All Events (alphabetical)

NameDescription
OnAMQPAuthenticationLets the application choose the SASL mechanism and supply the credentials during the AMQP login.
OnAMQPBasicCancelConsumeFires when the server confirms that a consumer has been cancelled (basic.cancel-ok).
OnAMQPBasicConsumeFires when the server confirms that a consumer has been registered (basic.consume-ok).
OnAMQPBasicDeliverFires when the broker pushes a message to an active consumer (basic.deliver).
OnAMQPBasicGetEmptyFires when a synchronous basic.get finds the queue empty (basic.get-empty).
OnAMQPBasicGetOkFires when a synchronous basic.get call returns a message (basic.get-ok).
OnAMQPBasicQoSFires when the server confirms that a QoS prefetch setting has been applied (basic.qos-ok).
OnAMQPBasicRecoverOkFires when the server confirms that unacknowledged messages have been redelivered (basic.recover-ok).
OnAMQPBasicReturnFires when a published message is returned by the broker because it could not be routed (basic.return).
OnAMQPChallengeFires when the broker sends a SASL challenge that the client must answer.
OnAMQPChannelCloseFires when a channel is closed by either peer (channel.close).
OnAMQPChannelFlowFires when the peer asks to pause or resume content traffic on a channel (channel.flow).
OnAMQPChannelOpenFires when the server confirms that a channel has been opened (channel.open-ok).
OnAMQPConnectFires after the AMQP connection handshake completes successfully (connection.open-ok).
OnAMQPDisconnectFires when the server or the client closes the AMQP connection (connection.close).
OnAMQPExceptionFires when an unhandled exception is raised inside the AMQP protocol or reader thread.
OnAMQPExchangeDeclareFires when the server confirms that an exchange has been declared (exchange.declare-ok).
OnAMQPExchangeDeleteFires when the server confirms that an exchange has been deleted (exchange.delete-ok).
OnAMQPHeartBeatFires every time a heartbeat frame is exchanged with the server.
OnAMQPQueueBindFires when the server confirms that a queue has been bound to an exchange (queue.bind-ok).
OnAMQPQueueDeclareFires when the server confirms that a queue has been declared (queue.declare-ok).
OnAMQPQueueDeleteFires when the server confirms that a queue has been deleted (queue.delete-ok).
OnAMQPQueuePurgeFires when the server confirms that a queue has been purged (queue.purge-ok).
OnAMQPQueueUnBindFires when the server confirms that a queue has been unbound from an exchange (queue.unbind-ok).
OnAMQPTransactionOkFires when the server acknowledges a transaction method: tx.select-ok, tx.commit-ok or tx.rollback-ok.