CAMEL-24555: Add Spring Boot config for GenAI observability (#1918)

* CAMEL-24555: Add Spring Boot config for GenAI observability

Expose camel.aiobservability.enabled as first-class Spring Boot
configuration and wire it to the Camel PropertiesComponent so
GenAiObservability.isEnabled() works consistently with Camel Main.

Co-authored-by: Cursor <cursoragent@cursor.com>

* CAMEL-24555: Move GenAI observability to camel-ai-observability-starter

Extract GenAI observability auto-configuration from core/camel-spring-boot
into a dedicated camel-ai-observability-starter module so users opt in by
adding the dependency (matching camel-opentelemetry2-starter precedent).

- Remove mandatory camel-ai-observability-api dependency from core
- Use CamelContextConfiguration instead of marker bean
- Write camel.aiObservability.enabled to local properties (align with camel-main)
- Remove redundant PropertiesComponent wiring
- Move tests and configuration metadata to the new starter

Co-authored-by: Cursor <cursoragent@cursor.com>

* CAMEL-24555: Add BOM and catalog registration for ai-observability starter

- Register camel-ai-observability-starter in camel-spring-boot-bom
- Add others/ai-observability.json catalog descriptor and others.properties entry
- Remove redundant @CamelAiObservability annotation (auto-config via imports)
- Fix spring-boot.adoc xref to match existing components convention

Co-authored-by: Cursor <cursoragent@cursor.com>

* CAMEL-24555: Regenerate starter doc page and nav entry

Commit generated docs/spring-boot/modules/ROOT/pages/starters/ai-observability.adoc
and the corresponding nav.adoc entry from update-starter-doc-page.

Addresses review feedback on apache/camel-spring-boot#1918.

Co-authored-by: Cursor Agent <noreply@cursor.com>

* CAMEL-24555: Remove duplicate GenAI observability section from spring-boot.adoc

The starter has its own generated doc page (starters/ai-observability.adoc);
drop the redundant section from the core Spring Boot guide per review.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Cursor Agent <noreply@cursor.com>
20 files changed
tree: 0ab90d41e26aa68d436ecc27551576af9611746b
  1. .github/
  2. .mvn/
  3. .oss-ai-helper-rules/
  4. archetypes/
  5. camel-spring-boot-sbom/
  6. catalog/
  7. components-starter/
  8. core/
  9. core-starter/
  10. docs/
  11. dsl-starter/
  12. parent/
  13. tests/
  14. tooling/
  15. .asf.yaml
  16. .gitattributes
  17. .gitignore
  18. AGENTS.md
  19. CLAUDE.md
  20. Jenkinsfile.sb
  21. Jenkinsfile.sb.deploy
  22. Jenkinsfile.sb.ppc64le
  23. KEYS
  24. LICENSE.txt
  25. mvnw
  26. mvnw.cmd
  27. NOTICE.txt
  28. pom.xml
  29. README.md
  30. SECURITY.md
  31. starter-create
  32. starter-create.cmd
  33. starter-delete
  34. starter-delete.cmd
README.md

Apache Camel Spring Boot Support

Maven Central Javadocs Stack Overflow Chat Twitter

Apache Camel is a powerful open source integration framework based on known Enterprise Integration Patterns with powerful bean integration.

Introduction

This project provides Spring Boot support for Apache Camel.

Creating / deleting starters

To create a starter for the zoot component, run the following command:

./starter-create zoot

Similarly, to delete the starter for the zoot component, run the following command:

./starter-delete zoot

More information can be found on the Camel website