@final-execute
Execution pipeline which is always executed at the very end of request processing, regardless of whether the request was accepted or rejected in the @pre-, main-, and @post-execute pipelines.
Note: The
@prefix is required for pipeline blocks. The legacy syntax without@(e.g.,final-execute {}) is deprecated and emits warnings. Use@final-execute {}for new configurations.
This pipeline is executed after the response packet has been sent. It cannot modify reply attributes, response header, or the response status. Use this pipeline for custom logging, metrics collection, session bookkeeping, and other asynchronous operations that should not impact request-reply performance.
See also
- Execution context - Available variables
- Actions - Available actions
- Pipeline directives - Control flow
Example
@final-execute {
log {
message "Request processing completed";
context {
identity aaa.identity;
protocol aaa.protocol;
result aaa.result;
policy aaa.policy;
handler aaa.handler;
}
}
}
Navigation