Hi, Good point.
Maybe Samuel (the contributor of camel-kafka, CC'ed) can have a look for us ;-) We should also harmonise the header names with the style we use in other components: CamelKafka... (upper camel case starting with Camel, followed by component name, then header name). We could only include this change for 2.16 but not for the 2.15.x or 2.14.x release lines. Regards, *Raúl Kripalani* Apache Camel PMC Member & Committer | Enterprise Architect, Open Source Integration specialist http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani http://blog.raulkr.net | twitter: @raulvk On Tue, Sep 1, 2015 at 11:34 AM, Rahul Jain <[email protected]> wrote: > In KafkaConstants, the constant "KEY" is declared as > > * public static final String KEY = "kafka.CONTENT_TYPE";* > > This is used to store the kafka message key in exchange. But why do we > refer to it as CONTENT_TYPE here? >
