Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0
-
Novice
Description
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()); }