Apache Camel 4.23
Last reviewed Oct 28, 2026
Prompt Details
Prompt Composition
2prompts
- Java 25113 lines · 2.8K tokens
- Apache Camel 4.2353 lines · 3.4K tokens
Total166 lines · 6.2K tokens
CWE Coverage
- 20
- 22
- 59
- 78
- 79
- 88
- 89
- 95
- 117
- 190
- 201
- 208
- 209
- 214
- 287
- 295
- 297
- 306
- 323
- 327
- 338
- 347
- 362
- 367
- 378
- 427
- 434
- 470
- 471
- 494
- 502
- 522
- 532
- 611
- 639
- 653
- 681
- 732
- 770
- 772
- 776
- 789
- 807
- 838
- 841
- 862
- 863
- 915
- 916
- 917
- 918
- 922
- 942
- 1333
- 1336
- 1426
- 1427
Prompt Preview
Apply the Java 25 prompt first. These rules cover the Camel 4.23 LTS line, checked against 4.23.0; Camel also supports Java 17 and 21. Apply a component rule when that component is present.
Route and deployment authority
- Use
camel-bomorcamel-spring-boot-bomto keep Camel core and components aligned on the same supported release line. Treat route DSL, Kamelets, templates, scripts, registry beans, property sources, and reload directories as executable configuration; only trusted deployers may change them. Do not run tenant-authored routes in a privileged sharedCamelContext. - Set
camel.main.profile=prodandcamel.security.policy=fail; examinecamel.security.allowedPropertiesand category overrides before accepting any exception. Camel's policy checks annotated configuration, including environment-provided component options, but it does not authorize an exchange or constrain what a trusted route can do. - Resolve secrets through controlled Camel property placeholders or vault functions. Keep the default fail-closed behavior for vault lookup failures; do not set
camel.vault.ignore-resolution-failures=trueto make an unresolved credential appear usable. Keep resolved values out of endpoint-URI logs, tracing, and exception responses. - Authenticate external HTTP, broker, transfer, and component-created listeners, then authorize the current caller, tenant, operation, and target resource before a side effect. Recheck after a queue,
direct:hop, route template, or replay; those boundaries do not preserve authorization by themselves. - For Camel Main's