WebSphere MQ Objects
WebSphere MQ objects
•
The WebSphere MQ objects are:
•
Queue
managers
•
Queues
•
Process
definitions
•
Channels
•
Listeners
Queue
managers
•
A queue manager supplies an application
with WebSphere MQ services. A program must have a connection to a queue manager
before it can use the services of that queue
•
MQueueManager
mqQueueManager = new MQQueueManager(qmgrName);
Attributes
of Queue managers
•
Associated with each queue manager is a set
of attributes (or properties) that define its characteristics. Some of the
attributes of a queue manager are fixed when it is created; you can change
others using the WebSphere MQ commands.
•
The fixed attributes include:
•
The name of the queue manager
•
The maximum priority that you can assign to
messages processed by the queue manager
•
The maximum length of messages the queue
manager can process
Changeable attributes
include:
•
A text description of the queue manager
•
The identifier of the character set the queue
manager uses for character strings when it processes MQI calls
•
The name of the queue manager’s dead-letter
(undelivered message) queue
•
The name of the queue manager’s default
transmission queue
The maximum number of open handles for any one connection
The maximum number of open handles for any one connection
Queues
•
A WebSphere MQ queue is a named object on
which applications can put messages, and from which applications can get
messages. Messages are stored on a queue, so that if the putting application is
expecting a reply to its message, it is free to do other work while waiting for
that reply.
Types of Queues:
•
Local and remote
queues
•
A queue is known to
a program as local if it is owned by the queue manager to which the program
is connected; the queue is known as remote.
Alias queues
To your program, an alias
queue appears to be a queue, but it is really a WebSphere MQ object that you
can use to access another queue.
Model and dynamic queues
A model queue is a template of a queue
definition used only when you want to create a dynamic local queue.
Process definitions
•
To allow an application to be started without
the need for operator intervention
Channels
•
A channel is a communication link used by
distributed queue managers.
Listeners
Tags: MQ, Queue, Webshpere
Subscribe to:
Post Comments (Atom)
Share your views...
0 Respones to "WebSphere MQ Objects"
Post a Comment