The KafkaProducer class reads the topic name from exchange headers. This
causes a problem when the route ends with a "to" endpoint since in this
case, the exchange still has its header set to the "from" endpoint's topic.

See my comments in https://issues.apache.org/jira/browse/CAMEL-7331

Thanks,
Rahul

Reply via email to