How can you configure the HTTPRequest nodein Websphere Message Broker to allow for back end dynamic DNS changes?
The HTTPRequest node that is included with WebSphere Message Broker caches the resolved IP address of the target host. This can result in problems when using a back end host that dynamically routes and resolves IP addresses, because the HTTPRequest node uses the cached value instead of the new IP address.
To force the HTTPRequest node to identify changes in DNS entry without restarting the broker, you must disable the DNS caching.
To disable the DNS caching of the HTTPRequest node, complete one of the following steps:
- Open the file located at $JAVA_HOME/jre/lib/security/java.security
and set the value of the 'networkaddress.cache.ttl' property to '0' (zero).
- In a WebSphere Message Broker command window, enter the following command to change the JVM system property:
mqsichangeproperties LUXBGN01 -e <EG_name>-o ComIbmJVMManager
-n jvmSystemProperty -v "- Dnetworkaddress.cache.ttl=0".
WMB MB WebSphere Message Broker MQ Integrator WBIMB WBI-MB MQSI WMQI