1 Reply Latest reply on Feb 27, 2013 11:46 AM by Clebert Suconic

    InVM connection failure check logic

    Frank Wilson Newbie

      Hi I get the following error after I have left my queue consumer paused at a debugger break point (and also at more realistic scenarios that I am current trying to pinned down):


      2013-02-27 14:22:00,074 hornetq-failure-check-thread WARN      [org.hornetq.core.client] HQ212107: Connection failure has been detected: HQ119034: Did not receive data from invm:0. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=CONNECTION_TIMEDOUT]


      the my queue consumer thread fails with


      HornetQException[errorType=OBJECT_CLOSED message=HQ119042: Consumer is closed]


      Is this purely for initiating failover in a HA configuration? I am just using the InVM connection so I am thinking of settings client-failure-check-period to -1. Shouldn't this be the default policy for InVM connections anyway, since they are not HA configurations?