the message is redelivered once the session is closed, if a network connection fails this happens after the ConnectionTTL setting on the connection factory, 30 seconds by default i think
Thank you Andy for the reply
yes, you are right - the client session will still exist on the server if the connection fail was shorter than ConTTL.
But it means also that the message will not be resent until the client recreates the session. The client could
recreate it, but the problem is, it doesn't know WHEN to do it, because it does nothing know about the lost
message... (sorry for my robot english).
It is really a problem for me, because my session can live very long so the message will not be redelivered in
an acceptable time...
How could I manage such situation? Thank you.
you need to either configure your session either to reconnect or write some code to do the reconnecting yourself.
All this is in the user manual and there are examples covering this.