For the complete documentation index, see llms.txt. This page is also available as Markdown.

Lifecycle

This section covers how to implement lifecycle methods that control your microservice's initialization and shutdown behavior.

Overview

Talon microservices have a well-defined lifecycle from initialization through running to shutdown. You can hook into this lifecycle using annotations to perform setup, initialization, and cleanup tasks.

Lifecycle Phases

  1. Construction - Class instantiation

  2. Initialization - @AppInit methods execute

  3. Running - Message processing begins

  4. Shutdown - @AppShutdown methods execute

Topics

Last updated