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 f18511884ef9412271905d5a2021e7d6cf58f9e4 Author: Otavio R. Piske <angusyo...@gmail.com> AuthorDate: Sun Feb 25 14:34:51 2024 +0100 CAMEL-20459: documentation fixes for the message EIP. Signed-off-by: Otavio R. Piske <angusyo...@gmail.com> --- .../src/main/docs/modules/eips/pages/message.adoc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/message.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/message.adoc index 3fbecb787fb..8ce190220c4 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/message.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/message.adoc @@ -13,13 +13,14 @@ of the xref:manual::exchange.adoc[Exchange]. The message contains the following information: -- _body_ - the message body (i.e. payload) -- _headers_ - headers with additional information -- _messageId_ - Unique id of the message. +- `_body_`: the message body (i.e., payload) +- `_headers_`: headers with additional information +- `_messageId_`: Unique id of the message. By default, the message uses the same id as `Exchange.getExchangeId` as messages are associated with the - `Exchange` and using different IDs does not offer much value. Another reason is to optimize for performance to avoid generating new IDs. + `Exchange` and using different IDs offers little value. +Another reason is to optimize for performance to avoid generating new IDs. A few Camel components do provide their own message IDs such as the JMS components. -- _timestamp_ - The timestamp the message originates from. - Some systems like JMS, Kafka, AWS have a timestamp on the event/message, that Camel received. - This method returns the timestamp, if a timestamp exists. +- `_timestamp_`: the timestamp the message originates from. +Some systems like JMS, Kafka, AWS have a timestamp on the event/message that Camel receives. +This method returns the timestamp if a timestamp exists.