Change default timeout on Message Gateway client

This article describes how to change the default timeout on Message Gateway client, if needed.

The reader should have some basic knowledge about PhenixID Server.


The default timeout for the Message Gateway client is four (4) seconds.

If this value needs to be changed, please follow the instructions in this document.

We will make changes to the files:

/bin/ (Linux)

/bin/*.vmoptions (Windows)

So please make sure to have a recent copy of these files before making the changes below.


The parameters used to set the timeout is:
msggw.connection.timeout (the time to establish the connection with the remote host)
msggw.socket.timeout (the time waiting for data, after the connection was established)

On Linux these parameters are set in the file /bin/, change them like this (increase to 8 seconds):

JAVA_OPTS="${JAVA_OPTS} -Dmsggw.connection.timeout=8"

JAVA_OPTS="${JAVA_OPTS} -Dmsggw.socket.timeout=8"

On Windows these parameters are set in the file/files /bin/*.vmoptions, change them like this (increase to 8 seconds):



PhenixID service needs to be restarted for the change to take affect.