Daniel Williams created CAMEL-9108:
--------------------------------------
Summary: Camel Kafka component builds Producer topic off of
message instead of to() URI
Key: CAMEL-9108
URL: https://issues.apache.org/jira/browse/CAMEL-9108
Project: Camel
Issue Type: Bug
Components: camel-kafka
Affects Versions: 2.15.3, 2.15.2, 2.15.1, 2.15.0
Environment: All
Reporter: Daniel Williams
It was noticed in camel-kafka 2.15.3 that the KafkaProducer was reading the
kafka.TOPIC off of the Exchange envelope instead of reading it off of the
configured KafkaEndpoint/Configuration which subsequently breaks the ability to
route messages from a Kafka topic to a Kafka topic based upon a Predicate.
```
from("kafka:localhost:9092?topic=A&groupId=B....").to("kafka:localhost:9092?topic=B.....")
```
I've created a pull request on github that addresses this issue:
https://github.com/apache/camel/pull/597
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)