You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tarun Mahajan (Jira)" <ji...@apache.org> on 2020/04/06 19:06:00 UTC
[jira] [Created] (CAMEL-14854) Camel Irc components Fails to rejoin
the channels
Tarun Mahajan created CAMEL-14854:
-------------------------------------
Summary: 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
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)