Hello Camel devs,

I am relatively new to Apache Camel. I am developing a new component to
Apache Camel that adds the support of https://debezium.io/ to Camel.
My question is about the message data format when I save the message body
value into the Message (message.setBody(value)), I was confused if there is
a strict message format that I should parse my value before saving into the
exchange message body or I just can save the raw value directly without
parsing it, is this correct? I was looking at some examples such Kinesis
<https://github.com/apache/camel/blob/master/components/camel-aws-kinesis/src/main/java/org/apache/camel/component/aws/kinesis/KinesisEndpoint.java#L94>
and
Kafka
<https://github.com/apache/camel/blob/master/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaEndpoint.java#L172>
and
as I understood here, the raw type value was saved directly into the
exchange body, however I wanted hear if there are any recommendation on the
format when the data being saved into the exchange body message.

Thank you,
Omar

Reply via email to