MQ Series interview questions and answers part 4

          

MQ Series interview questions and answers part 4


Part 1   Part 2   Part 3   Part 4

What is the Algorithm followed in retrieving the Messages from the Queue?

- The message can be retrieved in First-in-first-out (FIFO) basis.
- Message priority – defined in the message descriptor. Messages with same priority are retrieved on a FIFO basis
- A specific message can be retrieved by a program request.

What is Process Definition and what are the attributes does it contain?

- An application which starts in response to an event that is triggered in MQ Queue Manager is defined as a process definition
- The application ID, application type and data specific to the application are the attributes for defining process definition

What are the Types of messages?

MQ messages types are:
- Datagram – It is an unsolicited message
- Request - A message for which a response is expected
- Reply – A message event such as a confirmation on arrival or delivery. It can be an error
MQ messages can be persistent or non-persistent

What are the message sizes?

For Queue manager, the limit is 4 MB
For a Queue the limit is 4 MB

The default memory size for Q Capture program is 64 KB

The default memory size for Q Apply program is 2 MB

What is the attribute used to see the Message length?

The attribute used to see the message length is MaxMsgLength

Explain about a) Message Client b) Message Server

a) Message Client
 
- A Web Sphere MQ Client is an application’s component that is running on a system for sending MQI calls to a queue manager which is running on another system
- The response is sent back to the client, which passes back to the application

b) Message Server

- A Web Sphere MQ Server is an application’s component that provides queuing services to several clients
- All the MQ objects of an application, like the queues, exist only in the queue manager machine
- Web Sphere MQ server can also support the Web Sphere MQ Applications that are running locally



Write your comment - Share Knowledge and Experience


Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring