Skip to content

Fix platform-http example README and indentation - #204

Open
Croway wants to merge 1 commit into
apache:mainfrom
Croway:fix-platform-http-readme-cleanup
Open

Fix platform-http example README and indentation#204
Croway wants to merge 1 commit into
apache:mainfrom
Croway:fix-platform-http-readme-cleanup

Conversation

@Croway

@Croway Croway commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The README incorrectly stated the example uses camel-servlet-starter as the platform-http-engine implementation. The pom has no such dependency — it actually runs via spring-boot-starter-webmvc/Tomcat with camel-platform-http-starter. Corrected the description.
  • Refreshed the stale sample startup log (Spring Boot 3.4.5 → 4.1.1, Tomcat 10.1.40 → 11.0.24, plus Spring Boot 4 logger package renames) with real output captured from a fresh run.
  • Normalized inconsistent tab/space indentation in CamelRouter.java, Todo.java, TodoService.java, and TodoServiceImpl.java to the repo's 4-space convention.

Test plan

  • mvn package builds cleanly
  • Ran the app with mvn spring-boot:run and exercised all CRUD endpoints (POST, GET all, GET by id, PATCH, DELETE completed, DELETE by id) — all work as documented
  • Verified against the camel-spring-boot starter docs/tests that camel-platform-http-starter + spring-boot-starter-webmvc (not camel-servlet-starter) is the actual engine implementation

The README incorrectly stated the example uses camel-servlet-starter
as the platform-http-engine implementation; the pom has no such
dependency, it actually runs via spring-boot-starter-webmvc/Tomcat
with camel-platform-http-starter. Also refreshed the stale sample log
(Spring Boot 3.4.5 -> 4.1.1, Tomcat 10.1.40 -> 11.0.24) with real
output from a fresh run, and normalized tab/space indentation to
match the repo's 4-space convention.

All CRUD endpoints verified working against a live run.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HseDjsECuZhsCXxxioiD1k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant