Multicast
We can configure a WebSphere MQ JMS client multicast connection to a broker in either of the following ways:
- In a WebSphere MQ JMS application, use the setMulticast() method of an MQConnectionFactory, MQTopicConnectionFactory, or MQTopic object to set the multicast attribute.
- Use the WebSphere MQ JMS administration tool to set the MULTICAST property.
The TRANSPORT property must be set to DIRECT before the MULTICAST property has any effect.
WebSphere MQ includes support for subscribing to multicast-enabled topics using a direct connection to a broker where the multicast protocol defined on the broker is set to PGM/IP or UDP-encapsulated PGM. When PGM/IP is used, the client requires a native library to be present on the system path. It is installed into the directory specified by MQ_JAVA_LIB_PATH
This library has different names on different platforms, as follows:
- AIX - libPgmIpLayer.so (32-bit only)
- HP-UX 11i v1- libPgmIpLayer.sl (32-bit only)
- Linux (x86 platform) - libPgmIpLayer.so
- Linux (zSeries platform) - libPgmIpLayer.so (32-bit only)
- Solaris SPARC - libPgmIpLayer.so (32-bit only)
- Windows - PgmIpLayer.dll
- z/OS - libPgmIpLayer.so
PGM/IP can be used only on the platforms listed above. An error message, MQJMS_DIR_PGM_LIB_NOT_FOUND, is thrown if the library is not present or can not be found.
uj34710_