You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/06/19 12:52:00 UTC

[jira] [Resolved] (CAMEL-14854) Camel Irc components Fails to rejoin the channels

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

Claus Ibsen resolved CAMEL-14854.
---------------------------------
    Fix Version/s:     (was: 3.x)
                   3.5.0
       Resolution: Fixed

> Camel Irc components Fails to rejoin the channels
> -------------------------------------------------
>
>                 Key: CAMEL-14854
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14854
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-irc
>    Affects Versions: 3.0.0
>            Reporter: Tarun Mahajan
>            Priority: Minor
>              Labels: help-wanted
>             Fix For: 3.5.0
>
>
> Camel IRC fails to rejoin the channel. We have a module where we are sending updates via camel irc and it stores the producers and connection in cache, but if due to some reason connection get reset or irc server get restarted then all the messages starts to fail as we are not retrying on making new connection.
>  
> Here is the piece of code where we are checking if connection.isactive or not. If not we should try to establish a connection, due to this all messages are going to dlq.
> IrcProducer.java
> if (!connection.isConnected()) {
>  throw new RuntimeCamelException("Lost connection to " + connection.getHost());
> }
>  



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