<div dir="ltr">how to detect the node failure - catch io exception?<br><br>18 януари 2014, събота, 16:59:47 UTC+2, Petar Georgiev написа:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi all<br><br>I have two rabbit mq nodes. The application componenets are connection to one of the two nodes. Compnet A is conetctet to node 1, component B is connected to node2. <br>I want if node 1 is shutdown by power off the app component A to connect to node 2 and retransmit the send message to node1 - to resent the message to the available node. <br><br>Is there is some internal rabbitmq way to achive this or there is some design patter which i can apply? <br><br>If i publish a message to rabbit mq node that is down will i get IOException  and after how much time i will get it?<br><br><br>One more question - is there is some way to be informed when the connection with rabbit node is down - heartbeat or tcp keepalive feature? <br><br><br>Best Regards,<br>Petar<br></div></blockquote></div>