Hi

In Camel 4.17 we can now mark for each component if some header(s) are
important information. This is only intended for development / trouble
shooting / debugging / observability and tooling etc.

The idea is to mark only a few headers that carry important data such as
file name, kafka offset, kafka partition / and what else you can think of.
At present time a limited set has been marked.

So if you work on a component and can see that when Camel consumer is
receiving a message then one of the headers has important data, then you
can mark the header in the xxxConstant.java file and in the @Metadata
annotation you can set important = true.

This information are being used in the camel-jbang tooling in the new
history command, and the tracer command as well.

See more details at
https://github.com/apache/camel/blob/main/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc#history-of-last-completed-message

I also posted in the Camel linkedin group.




-- 
Claus Ibsen

Reply via email to