1 Reply Latest reply on Mar 6, 2013 8:37 PM by Yong Hao Gao

    onSendSuccess() is called although the sending error occur

    gojoke Newbie

      Condition:

      1. HornetQ version : 2.2.14 final

      2. Retry is set at config as follow:

      <retry-interval>1000</retry-interval>

      <retry-interval-multiplier>1.0</retry-interval-multiplier>

       

      Step:

      1 Client1 → HonetQServer → Client2

      2 Stop HornetQ Server

      3 Client1 sends message

         Here, a sending error occured at Client1 but at HornetQ server , onSendSuccess() is called.

         (I think the correct result should call the onSendError() )

       

      By the way, this problem is just happened when we set the sending mode = persistent.

      When we change the mode to non-persistent , onSendError() is called .