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

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

     [ https://issues.apache.org/jira/browse/CAMEL-15534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino reassigned CAMEL-15534:
----------------------------------------

    Assignee: Andrea Cosentino

> 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
>            Assignee: Andrea Cosentino
>            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)