basic_ack
Acknowledges a message delivery by its tag, ensuring a connection to the broker exists and attempting a reconnection if the operation fails or the channel is missing.
def basic_ack(
amqp_context: object,
delivery_tag: int
) - > null
Acknowledges one or more delivered messages to the AMQP broker to signal that they have been processed.
Parameters
| Name | Type | Description |
|---|---|---|
| amqp_context | object | The application context containing the active AMQP channel and connection state. |
| delivery_tag | int | The server-assigned delivery identifier for the message being acknowledged. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned; the function outputs success or error messages to the console via the context object. |