You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2020/09/15 13:45:00 UTC

[jira] [Commented] (CAMEL-15534) Camel-telegram wrongly parse chadId from headers

    [ https://issues.apache.org/jira/browse/CAMEL-15534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17196160#comment-17196160 ] 

Otavio Rodolfo Piske commented on CAMEL-15534:
----------------------------------------------

Cross-referencing the issue on CKC: https://github.com/apache/camel-kafka-connector/issues/463 

> Camel-telegram wrongly parse chadId from headers
> ------------------------------------------------
>
>                 Key: CAMEL-15534
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15534
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-telegram
>    Affects Versions: 3.5.0
>         Environment: I used camel-telegram inside camel-kafka-connector and with Strimzi together on oc3.11.
>            Reporter: Jakub Stejskal
>            Priority: Major
>
> 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).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)