Take a look at reconnection properties on the manual.
With reconnection, it appears to be a strategy of reconnecting the client to the same session on the server. However, what I am trying to do is to not connect to HornetQ if it takes a longer time perhaps due to network issues or if the HornetQ server itself is not available. In that case, I do not want my existing production system to wait for ever trying to connect to HornetQ. Please let me know if I am missing something.
1 of 1 people found this helpful
you can set initial-connect-attempts and retry-interval to control this