You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2024/01/17 13:47:11 UTC
(camel-kamelets-examples) branch main updated: Fix readme for Transform example (#52)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 6351ea4 Fix readme for Transform example (#52)
6351ea4 is described below
commit 6351ea42401452ec7bf8897d4c5a2f49478e0e83
Author: Aurélien Pupier <ap...@redhat.com>
AuthorDate: Wed Jan 17 14:47:06 2024 +0100
Fix readme for Transform example (#52)
The route keyword is missing. Without it, there is the error message:
```
Unmatched arguments from index 1: 'Address.java',
'application.properties', 'OrderService.java', 'order-spring.xml',
'README.adoc'
Did you mean: transform message?
```
Signed-off-by: Aurélien Pupier <ap...@redhat.com>
---
jbang/xml-to-yaml/README.adoc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/jbang/xml-to-yaml/README.adoc b/jbang/xml-to-yaml/README.adoc
index 94cf2ef..a0c8ab9 100644
--- a/jbang/xml-to-yaml/README.adoc
+++ b/jbang/xml-to-yaml/README.adoc
@@ -44,7 +44,7 @@ This can also be done explicit from CLI, by executing:
[source,sh]
----
-$ camel transform * --format=yaml --output=my-dump
+$ camel transform route * --format=yaml --output=my-dump
----
This will transform the XML DSL into YAML DSL and store the output in the my-dump directory.
@@ -53,14 +53,14 @@ If you want to print the dump to console, you can do:
[source,sh]
----
-$ camel transform * --format=yaml
+$ camel transform route * --format=yaml
----
And since yaml is default format, it can be shorter:
[source,sh]
----
-$ camel transform *
+$ camel transform route *
----