CAMEL-23789: Make component docs multi-DSL friendly (Wave 1)#24097
Open
davsclaus wants to merge 42 commits into
Open
CAMEL-23789: Make component docs multi-DSL friendly (Wave 1)#24097davsclaus wants to merge 42 commits into
davsclaus wants to merge 42 commits into
Conversation
Convert processor-based examples to declarative setHeader/setBody DSL, add XML and YAML tabs for all route examples, resolve AWS2S3Constants to string header values, add Java-only markers for programmatic config, and convert streaming upload timestamp grouping examples to multi-DSL. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Convert processor-based examples to declarative setHeader/setBody DSL, add XML and YAML tabs for all route examples, resolve all BlobConstants to string header values, add Java-only markers for programmatic config, and fix string concatenation in URIs. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Resolve all MongoDbConstants to string header values, add Java-only markers for Bson/ProducerTemplate examples, add tabs for count route, fix prose references to use string header names, and remove duplicate projection example. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…e 1) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…ve 1) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Contributor
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…Wave 1) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…(Wave 1) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…iendly (Wave 1) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
- Resolve StripeConstants references to string values (OBJECT_ID, METHOD_HEADER, METHOD_RETRIEVE, METHOD_UPDATE, METHOD_LIST, METHOD_CANCEL) - Convert createCustomer JSON, REST payment, retrieveCustomer, cancelPayment, and auth examples to Java/XML/YAML tabs - Add Java-only markers to Map.of() examples (createCustomer, paymentIntent, updatePayment, listCustomers, product+price, refund) - Add Java-only markers to programmatic component configuration and error handling examples Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
- Resolve all DaprConstants references to string values (CamelDaprVerb, CamelDaprConcurrency, etc.) - Convert anonymous Processor classes to setHeader/setBody DSL equivalents - Convert 14 producer examples to Java/XML/YAML tabs (invokeService, state save/get, pubSub, invokeBinding, lock tryLock/unlock, workflow scheduleNew/terminate/purge/suspend/resume/state/raiseEvent) - Add Java-only markers to examples using SDK types (State, TransactionalStateOperation, Duration, List.of, Map.of) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
- Resolve Neo4j.Headers and Neo4jConstants.Headers references to string values - Add Java-only markers to all 14 ProducerTemplate examples - Clean up indentation and code formatting Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
- Convert 6 simple route examples to Java/XML/YAML tabs (file prompt, image input, S3 image, media type header, JSON schema, schema resource) - Add YAML tab to MCP OAuth example - Add Java-only markers to SDK-specific examples (outputClass, SSLContextParameters, SimilarityUtils, conversation history, batch embeddings, multi-turn) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…ave 1) - Convert simple chat route to Java/XML/YAML tabs - Add Java-only markers to 14 SDK-specific examples (ChatMemory, VectorStore, Message types, @tool, ChatClient, multimodal, structured output, RAG, ProducerTemplate) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…ave 1) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
… (Wave 1) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…Wave 1) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…endly (Wave 1) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…ave 1) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…endly (Wave 1) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…ly (Wave 1) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…ave 1) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Claude Code on behalf of Claus Ibsen
Makes 10 popular component documentation pages multi-DSL friendly by adding Java/XML/YAML tabs blocks for route examples, resolving Java constants to string values, and marking inherently Java-only examples.
Components updated: AWS S3, Azure Storage Blob, MongoDB, JMS, AWS SQS, AWS SNS, Kafka, File, HTTP, SQL
Changes per component:
[tabs]blocks with Java, XML, and YAML DSL equivalents for route examplesKafkaConstants.KEY→"CamelKafkaKey",JmsConstants.JMS_DESTINATION→"CamelJmsDestination") to their string values._Java-only: description_markers for examples that are inherently Java-only (ProducerTemplate test API, programmatic config, complex Java types)Processorclasses to lambdas where appropriate+) in URIs, using plain single-line URIs instead#m4yClient→#myClientin SQS docs)Test plan
&for query parameter separatorsparameters:block for endpoint options🤖 Generated with Claude Code