Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.5.0
-
None
-
I used camel-telegram inside camel-kafka-connector and with Strimzi together on oc3.11.
-
Unknown
Description
There is an issue when I create KafkaStreams app which get messages sent from telegram, transform it and sent back to telegram, camel-telegram cannot parse chatId from header - https://gist.github.com/Frawless/564623a3fffb258a036f424e09402dc5
The problem is on this line I think - https://github.com/apache/camel/blob/camel-3.5.0/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/TelegramProducer.java#L83 I have tried to remove the cast and instead of it use String.valueOf()and it's working fine for me. However, I am not sure if this suitable solution (maybe there is something better already implemented in camel).
Attachments
Issue Links
- links to