0
votes

I need to know how IBM Websphere MQ works.

As of my knowledge.

  1. IBM Websphere MQ is an application that runs continuously
  2. IBM Websphere MQ has a queue manager, queue name, port, host where it is runs, channel name.
  3. We have a two different application in two different remote place.
  4. Two applications and the IBM Websphere MQ applications are connected through network.
  5. Using IBM Websphere MQ credentials the applications are able to send and receive messages between them via IBM Websphere MQ.

If I have anything wrong then please guide me.

My questions are:

  1. If one application sends a message to the queue then where will the memory be consumed?
  2. Where do we run the MQ listeners? On the applications environment or the Websphere environment (where we installed the IBM Websphere MQ)?
  3. Do we need to run any programs in the application environments or are the IBM Websphere MQ credentials (queue manager, queue name, port, host where it is runs, channel name) enough to send and receive the messages?
1

1 Answers

2
votes

If one application sends a message to the queue then where will the memory be consumed?

A Running Queue Manager requires memory in order to run and handle processing/storage of messages. As well as that every MQ Client application that connects to a Queue Manager requires memory to connect to and put/get messages. This is no different than any application that runs on any system.

Where do we run the MQ listeners?

Assuming you mean MQ Listeners. The MQ Listeners are run on the Queue Manager and specify the (TCP) port you want the Queue Manager to listen on.

Do we need to run any programs in the application environments or are the IBM Websphere MQ credentials (queue manager, queue name, port, host where it is runs, channel name) enough to send and receive the messages?

To run a Queue Manager on a machine, your machine must meet the System requirements stated in the System Requirements for WebSphere MQ page. Here is the MQ v8 one

Likewise to run a MQ Client application that can connect into a Queue Manager, the application needs to have be ran on a machine that has the IBM MQ Client libraries installed on and meet the system requirements.

You also need to tell the application:

  • The location of the Queue Manager hostname/IP Address and port number.
  • The channel to connect into, which must exist on the Queue Manager
  • The Queue name to interact with, which must exist on the Queue Manager

Depending on your Queue Manager's configuration you need to ensure that your application is running with the correct user/supplying the correct user to ensure it is properly authorized to access the Queue Manager.