Skip to content

chore: reorganize examples into categorized folders#70

Merged
davsclaus merged 1 commit into
mainfrom
reorganize-examples-into-categories
Jul 7, 2026
Merged

chore: reorganize examples into categorized folders#70
davsclaus merged 1 commit into
mainfrom
reorganize-examples-into-categories

Conversation

@davsclaus

Copy link
Copy Markdown
Contributor

Claude Code on behalf of davsclaus

Summary

Reorganize all examples into topic-based subfolders for better discoverability on GitHub and in the CLI/TUI example browser.

New folder structure

ai/                  - LangChain4j, OpenAI, Watson, smart-log-analyzer
beginner/            - First examples for newcomers (timer-log, rest-api, etc.)
cloud/               - AWS, IBM COS, Kubernetes
database/            - SQL/PostgreSQL
eip/                 - Enterprise Integration Patterns
language/            - Expression language examples (Groovy)
messaging/           - JMS/Artemis, MQTT, FTP
observability/       - Diagnostics and monitoring tools
rest/                - OpenAPI client/server
security/            - Keycloak, PQC, OCSF
transformation/      - XSLT, EDI X12

beginner/ sorts first alphabetically on GitHub, giving new users a clear starting point.

New examples

  • eip/content-based-router — choice/when routing by message content (temperature sensor)
  • eip/splitter — split comma-separated batch into individual messages
  • eip/aggregator — collect messages into batches using StringAggregationStrategy

Notes

  • Catalog JSON regenerated from metadata.json files
  • All existing examples moved with git mv to preserve history
  • Examples with "exclude": true in metadata (ibm-cos, kubernetes, ocsf, pqc, etc.) remain excluded from the catalog
  • Companion PR needed in apache/camel to update bundled examples and catalog

Test plan

  • Verify generate-catalog.sh produces correct catalog
  • Run camel run --example and browse examples in TUI after companion PR
  • Verify online example download works from new paths after merge

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Organize all examples into topic-based subfolders for better
discoverability on GitHub and in the CLI/TUI example browser:

- beginner/ - first examples for newcomers (timer-log, rest-api, etc.)
- eip/ - Enterprise Integration Patterns (content-based-router, splitter, aggregator, circuit-breaker)
- rest/ - REST and OpenAPI examples
- messaging/ - JMS, Kafka, MQTT
- database/ - SQL/PostgreSQL
- cloud/ - AWS, IBM, Kubernetes
- ai/ - LangChain4j, OpenAI, Watson, observability+AI
- security/ - Keycloak, PQC, OCSF
- transformation/ - XSLT, EDI
- observability/ - diagnostics and monitoring tools
- language/ - expression language examples

Adds 3 new EIP examples:
- eip/content-based-router: choice/when routing by message content
- eip/splitter: split batch into individual messages
- eip/aggregator: collect messages into batches

The beginner/ folder sorts first alphabetically on GitHub,
giving new users a clear starting point.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
@davsclaus
davsclaus merged commit fc4ffed into main Jul 7, 2026
1 check failed
@davsclaus
davsclaus deleted the reorganize-examples-into-categories branch July 7, 2026 10:14
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