摘要 |
<p>A queue in a connector service provides a unified communication channel and stores service packets sent to a target service from client applications. Incoming service request packets are modified at run time to add valid security tokens without requiring the user's action or notice. Before sending the packets, the connector service determines whether the authentication tokens are valid. Packets with valid authentication tokens are sent to the target service. If the communication request fails, the queue automatically adds the original communication packet to the end of the queue, so that it can be conditionally retried. When a loss of connectivity is detected, the connector service takes a snapshot of the queue by copying the packets to a storage module in the same order. When the connectivity is restored, the queue loads the saved requests from the storage module and starts processing them in the order they were received.</p> |