Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: amqj.default_syncwrite_timeout

...

You have not configured the console's SSL trust store properly, see Management Console Security for more details.

Client keeps throwing 'Server did not respond in a timely fashion'.

Certain operations wait for a response from the Server. One such operations is commit. If the server does not respond to the commit request within a set time an exception is thrown (Server did not respond in a timely fashion). This is to ensure that a server that has hung does not cause the client process to be come unresponsive.

However, it is possible that the server just needs a long time to process a give request. For example, sending a large persistent message when using a persistent store will take some time to a) Transfer accross the network and b) to be fully written to disk.

These situations require that the default timeout value be increased. A cilent System Properties 'amqj.default_syncwrite_timeout' can be set on the client to increase the wait time. The default in 0.5 is 30000 (30s).