Client connections
When WebSphere MQ classes for Java is used as a client, it is similar to the WebSphere MQ C client, but has the following differences:
- It supports only TCP/IP.
- It does not read any WebSphere MQ environment variables at startup.
- Information that would be stored in a channel definition and in environment variables is stored in a class called Environment. Alternatively, this information can be passed as parameters when the connection is made.
- Error and exception conditions are written to a log specified in the MQException class. The default error destination is the Java™ console.
- It does not access information stored in a qm.ini file, or the equivalent information stored in the Windows Registry. Entries in a qm.ini file, such as the KeepAlive entry, are therefore ignored.
When used in client mode, WebSphere MQ classes for Java does not support the MQBEGIN call or fast path bindings.
For general information on WebSphere MQ clients, see the WebSphere MQ Clients book.
uj11020_