Websphere MQ Basics

The queue manager is responsible
for maintaining the queues it owns, and for storing all the messages it
receives onto the appropriate queues.

Messages

A message is a string of bytes
that is meaningful to the applications that use it. Messages are used to
transfer information from one application program to another. The
applications can be running on the same or on different computers.

Local queues

A local queue is a data structure
used to store messages. The queue can be a normal queue or a transmission
queue. A normal queue holds messages that are to be read by an application
that is reading the message directly from the queue manager. A transmission
queue holds messages that are in transit to another queue manager.

Remote queues

A remote queue is used to address
a message to another queue manager.

Channels

Channels are use to send and
receive message between queue managers.

Listeners

Listeners are processes that
accept network requests from other queue managers, or client applications,
and start associated channels.

Creating a queue manager
called QM1

1.Create a queue manager
with the name QM1 by typing the following command:

crtmqm QM1

When the system creates the queue manager, you
see the following output:

C:\IBM\WebSphereMQ\bin>crtmqm QM1

WebSphere MQ queue manager created.

Directory 'C:\IBM\WebSphereMQ\qmgrs\QM1' created.

The queue manager is associated with installation 'Installation1'.

Creating or replacing default objects for queue manager 'QM1'.

Default objects statistics : 77 created. 0 replaced. 0 failed.

Completing setup.

Setup completed.

The queue manager is stopped. You must start the
queue manager to administer it, and read and write messages from its queues.

2.Start the queue manager
by entering the following command:

strmqm QM1

When the queue manager successfully starts, you
see the following output: