Skip to content

Fix pojo example: configure duration-max-seconds, stale javadoc - #205

Open
Croway wants to merge 1 commit into
apache:mainfrom
Croway:fix-pojo-duration
Open

Fix pojo example: configure duration-max-seconds, stale javadoc#205
Croway wants to merge 1 commit into
apache:mainfrom
Croway:fix-pojo-duration

Conversation

@Croway

@Croway Croway commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • README claimed the pojo example "self stops after one minute", but camel.main.duration-max-seconds was never configured, so it ran indefinitely — added the config to match the documented behavior (same pattern used in the quartz example).
  • Fixed a stale javadoc in NumberPojo.java referencing seda:numbers, when the actual endpoint consumed is direct:numbers.

Test plan

  • mvn package -DskipTests builds successfully

The README claims the example self-stops after one minute, but no
camel.main.duration-max-seconds was configured so it actually ran
indefinitely. Added the config to match the documented behavior.

Also fixed NumberPojo's javadoc, which referenced seda:numbers while
the actual endpoint is direct:numbers.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EbjZemqMg395XFGDRekLBM
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