7.4. Working with MQSeries Java API
We explore the methodology of programming with MQSeries Java API in this section.
7.4.1. Setting up the connections
In this section we examine the implementation of the binding and client connection modes. Assuming that from a design perspective you have chosen to implement either binding or client connection mode, we explain how we can implement them.
Connection to the queue manager is obtained by the constructor calls of the MQQueueManager class. At this time, the type of connection obtained is determined by some static fields in the MQEnvironment class. The static field settings that differentiate the connection modes are host, channel, userId, and password. Of these MQEnvironment fields that are used ...
Get MQSeries Programming Patterns now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.