JBoss.org Community Documentation
There are several system properties that a JMS client using the UIL2 transport can set to control the client connection back to the server
org.jboss.mq.il.uil2.useServerHost
: This system property allows a client to connect to the server InetAddress.getHostName
rather than theInetAddress.getHostAddress
value. This will only make a difference if name resolution differs between the server and client environments.
org.jboss.mq.il.uil2.localAddr : This system property allows a client to define the local interface to which its sockets should be bound.
org.jboss.mq.il.uil2.localPort : This system property allows a client to define the local port to which its sockets should be bound
org.jboss.mq.il.uil2.serverAddr : This system property allows a client to override the address to which it attempts to connect to. This is useful for networks where NAT is occurring between the client and JMS server.
org.jboss.mq.il.uil2.serverPort : This system property allows a client to override the port to which it attempts to connect. This is useful for networks where port forwarding is occurring between the client and jms server.
org.jboss.mq.il.uil2.retryCount
: This system property controls the number of attempts to retry connecting to the JMS server. Retries are only made for java.net.ConnectException
failures. A value <= 0 means no retry attempts will be made.
org.jboss.mq.il.uil2.retryDelay
: This system property controls the delay in milliseconds between retries due to ConnectException
failures.