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 77958d468c3cd2da03b9c437a27a2499d173ce77 Author: Otavio R. Piske <angusyo...@gmail.com> AuthorDate: Sun Feb 25 14:31:35 2024 +0100 CAMEL-20459: documentation fixes for the marshal EIP. Signed-off-by: Otavio R. Piske <angusyo...@gmail.com> --- .../src/main/docs/modules/eips/pages/marshal-eip.adoc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/marshal-eip.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/marshal-eip.adoc index 96207985c40..6a905e338e5 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/marshal-eip.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/marshal-eip.adoc @@ -8,13 +8,13 @@ image::eip/MessageTranslator.gif[image] Camel has support for message transformation using several techniques. One such technique is xref:components:dataformats:index.adoc[Data Formats], -where marshal and unmarshal comes from. +where marshal and unmarshal come from. -So in other words the xref:marshal-eip.adoc[Marshal] and xref:unmarshal-eip.adoc[Unmarshal] EIPs +So in other words, the xref:marshal-eip.adoc[Marshal] and xref:unmarshal-eip.adoc[Unmarshal] EIPs are used with xref:dataformats:index.adoc[Data Formats]. -- _Marshal_ - Transforms the message body (such as Java object) into a binary or textual format, ready to be wired over the network. -- _Unmarshal_ - Transforms data in some binary or textual format (such as received over the network) +- `marshal`: transforms the message body (such as Java object) into a binary or textual format, ready to be wired over the network. +- `unmarshal`: transforms data in some binary or textual format (such as received over the network) into a Java object; or some other representation according to the data format being used. == Example @@ -24,7 +24,8 @@ Each file is then transformed into Java Objects using xref:dataformats:jaxb-data Then a xref:ROOT:bean-component.adoc[Bean] is invoked that takes in the Java object. Then the reverse operation happens to transform the Java objects back into XML also via JAXB, -but using the `marshal` operation. And finally the message is routed to a xref:ROOT:jms-component.adoc[JMS] queue. +but using the `marshal` operation. +And finally, the message is routed to a xref:ROOT:jms-component.adoc[JMS] queue. [tabs] ====