This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 335a1873f616c9154f4e4cecd6b2872325869cc7
Author: Otavio R. Piske <angusyo...@gmail.com>
AuthorDate: Sat Feb 17 12:16:11 2024 +0100

    CAMEL-20410: documentation fixes for camel-cbor
    
    - Fixed grammar and typos
    - Fixed punctuation
    - Added and/or fixed links
    
    Signed-off-by: Otavio R. Piske <angusyo...@gmail.com>
---
 components/camel-cbor/src/main/docs/cbor-dataformat.adoc | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/components/camel-cbor/src/main/docs/cbor-dataformat.adoc 
b/components/camel-cbor/src/main/docs/cbor-dataformat.adoc
index ae52d9139b2..dabad671a4d 100644
--- a/components/camel-cbor/src/main/docs/cbor-dataformat.adoc
+++ b/components/camel-cbor/src/main/docs/cbor-dataformat.adoc
@@ -11,7 +11,7 @@
 
 *Since Camel {since}*
 
-CBOR is a Data Format which uses the
+CBOR is a Data Format that uses the
 https://github.com/FasterXML/jackson/[Jackson library] with the
 https://github.com/FasterXML/jackson-dataformats-binary/tree/master/cbor[CBOR 
extension]
 to unmarshal a CBOR payload into Java objects or to marshal Java objects
@@ -19,9 +19,9 @@ into a CBOR payload.
 
 [source,java]
 -------------------------------
-from("activemq:My.Queue").
-  unmarshal().cbor().
-  to("mqseries:Another.Queue");
+from("activemq:My.Queue")
+    .unmarshal().cbor()
+    .to("mqseries:Another.Queue");
 -------------------------------
 
 == CBOR Options
@@ -32,14 +32,14 @@ include::partial$dataformat-options.adoc[]
 
 === Using CBOR in Spring DSL
 
-When using Data Format in Spring DSL you need to
+When using Data Format in Spring DSL, you need to
 declare the data formats first. This is done in the *DataFormats* XML
 tag.
 
 [source,xml]
 
-----------------------------------------------------------------------------------------------------------------------------
 <dataFormats>
-    <!-- here we define a CBOR data format with the id test and that it should 
use the TestPojo as the class type when
+    <!-- here we define a CBOR data format with the id test, and that it 
should use the TestPojo as the class type when
     doing unmarshal. -->
     <cbor id="test" unmarshalType="org.apache.camel.component.cbor.TestPojo"/>
 </dataFormats>
@@ -58,7 +58,7 @@ And then you can refer to this id in the route:
 
 == Dependencies
 
-[source,java]
+[source,xml]
 -------------------------------------
 <dependency>
    <groupId>org.apache.camel</groupId>

Reply via email to