localAddressSetting

 

public static java.lang.String

The local address, including a range of ports, used when connecting to a WebSphere MQ queue manager through a firewall. The format is [ip-addr][(low-port[,high-port])].

Here are some examples:

9.20.4.98

The channel binds to address 9.20.4.98 locally

9.20.4.98(1000)

The channel binds to address 9.20.4.98 locally and uses port 1000

9.20.4.98(1000,2000)

The channel binds to address 9.20.4.98 locally and uses a port in the range 1000 to 2000

(1000)

The channel binds to port 1000 locally

(1000,2000)

The channel binds to a port in the range 1000 to 2000 locally

We can specify a host name instead of an IP address. The variable is initialized from system property com.ibm.mq.localAddress when you start the JVM. The default value is null.


uj12400_