WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Defining WebSphere MQ resources

An application client can run on a computer anywhere in the WebSphere® MQ network. If your applications use WebSphere MQ facilities to connect to the broker, and to interact with it (by using the MQI and AMI), you must set up the WebSphere MQ resources that they require.

The way that you set up applications is identical to the setup for clients for an WebSphere MQ server. To support client connections to a broker:

  1. If the application runs on the same computer as the broker, it can establish a local connection with the broker queue manager by using MQCONN, and you do not have to define any WebSphere MQ resources to support it.
  2. If the application runs on the same computer as another queue manager in the WebSphere MQ network, it can establish a local connection to that queue manager. In this scenario, you must define the appropriate resource to support communications between the queue manager to which the client has connected and the queue manager that hosts the broker that provides the required service.
  3. If the application runs on a computer that does not support a queue manager, it must make a client connection to a queue manager on another computer:
    • The broker queue manager

      You must set up the appropriate client connection and server connection definitions to support this option.

    • Another queue manager in the network

      You must set up the appropriate client connection and server connection definitions to support this option, and ensure that definitions are in place to support communications between the queue manager to which the client has connected, and the queue manager that hosts the broker that provides the required service.

An application can get messages only from queues that are owned by the queue manager to which it is connected (this restriction is true for all WebSphere MQ applications). Therefore, if an application expects to receive messages from a queue populated by a service within a particular broker and owned by that broker queue manager, it must connect to that broker queue manager (by using a local or WebSphere MQ client connection).

An application that puts messages, however, can be connected to any queue manager in the WebSphere MQ network, if the queue manager can resolve the target destination in some way. In all cases, the queue manager to which the client application is connected must know the location of the queue or queues to which the application puts messages (for example, by using remote queue definitions).

When you define a WebSphere MQ queue for a node in a message flow, you must not give it a name that starts with SYSTEM_BROKER. Names that include these characters are reserved for queues that are defined for internal use by WebSphere Message Broker components.

If your application is a subscriber that receives messages published by other applications, it can specify a temporary dynamic queue as its subscriber queue. If it does so, the broker automatically deregisters the subscription when the queue is deleted.

For more details about applications, putting and getting messages, and the use of WebSphere MQ clients, see the Clients and Application Programming Guide sections of the WebSphere MQ Version 7 Information Center online.

Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:46:06


Task topicTask topic | Version 8.0.0.7 | ac10126_