Fabien Chaillou created CAMEL-7331:
--------------------------------------

             Summary: Kafka: producer lookup the destination topic in the 
message header
                 Key: CAMEL-7331
                 URL: https://issues.apache.org/jira/browse/CAMEL-7331
             Project: Camel
          Issue Type: Improvement
    Affects Versions: 2.13.0
            Reporter: Fabien Chaillou
             Fix For: 2.14.0


Hello,
By default, a kafka producer is not tied to a specific topic.
The topic is related to each message.
Instead of having to specify the topic in the endpoint definition, we can 
define the topic as a message header.
If no topic is defined in the message then we fall back to the topic defined in 
the endpoint if any.

I created a pull request in github for this improvement, here is the link : 
https://github.com/apache/camel/pull/121




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to