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

Andrea Cosentino commented on CAMEL-14854:
------------------------------------------

Please report the camel version.

> 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
>            Reporter: Tarun Mahajan
>            Priority: Major
>
> 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)

Reply via email to