IBM WMQ Interview Questions and Answers
Last updated on 14th Oct 2020, Blog, Interview Question
IBM MQ is a family of message-oriented middleware products that IBM launched in December 1993. It was originally called MQSeries, and was renamed WebSphere MQ in 2002 to join the suite of WebSphere products. In April 2014, it was renamed IBM MQ. The products that are included in the MQ family are IBM MQ, IBM MQ Advanced, IBM MQ Appliance, IBM MQ for z/OS, and IBM MQ on IBM Cloud.
1.What Are The Features Of Message Broker?
Ans:
Routing, Transformation and Integration.
2.What Is The Role Of Configuration Manager?
Ans:
Connect to the dealer and to install the message flows onto the broker.
3.How To Create Broker From Command Prompt?
Ans:
Using mqsicreatebroker command.
4.What Are The Default Properties Of Mq Input Node?
Ans:
Message Domain, Message Set, Message Type, Message Format, Topic.
5.Which Nodes Are Used To Change The Message In The Flow?
Ans:
Compute Node, Filter Node an ResetContentDescriptor node.
6.Name 6 Built-in Nodes In Mb Toolkit?
Ans:
- MQInput node
- MQOutput node
- Compute node
- Database node
- AggregateControl node
- Filter node.
7.How To Call The Method Or Function In The Esql Coding?
Ans:
Using the “CALL” keyword.
8.What Is The Broker Domain?
Ans:
Group of agents that coordinate a single configuration supervisor constitute a Broker Domain.
9.Name The Message Formats Which Mb Support?
Ans:
XML, TDS, CWF, EDI, SWIFT.
10.What Is An Execution Group?
Ans:
An execution organization is a named grouping of message flows which have been assigned to a dealer.
11.Difference Between Root And Outputroot?
Ans:
Root is used in the Database content material changing and in Filter node. OutputRoot is used in the ESQL code for a Compute node that creates a new output message based on the enter message.
12.What Is User Name Server And Where It Is Defined?
Ans:
The User Name Server is an optional runtime issue that offers authentication of users and companies appearing submit/subscribe operations.
13.How Can We See The Error Log Files In Broker?
Ans:
The Windows Event Viewer is wherein WebSphere Message Broker writes facts to the neighborhood machine.
14.What Are The Perspectives There In Mb Toolkit? In Which Perspective We Deploy The Flow?
Ans:
- Administration Perspective
- Application Development Perspective
- Debugging Perspective
- Java Perspective .
- We set up flows in Administration Perspective .
15.What Are The Different Ways To Give Input Without Using Mqinput Node?
Ans:
SCADAInput, HTTPInput, FileInput, Real-timeInput, JMSInput, Custom Input nodes.
Subscribe For Free Demo
Error: Contact form not found.
16.What Is Parser? Difference Between Parser And Format?
Ans:
A Parser is described as a application that translates the bit stream of an incoming message and creates an internal representation of it in a tree shape.
Ex:
MRM parser
A Format is a bodily illustration of a message.
Ex:
XML twine format
17.Define Correlation Names?
Ans:
A correlation call is a discipline reference that identifies a nicely-defined start line within the logical message tree and is used in field references to explain a popular part of the tree layout.
18.How Will We Use A Cobol Copybook In Mb?
Ans:
You can populate your message set with message definitions via importing COBOL copybook documents, the usage of either the New Message Definition File wizard or the mqsicreatemsgdefs command line software.
19.What Is Schema Of Broker?
Ans:
A dealer schema is a symbol area that defines the scope of specialty of the names of sources defined within it. The resources are message flows, ESQL documents, and mapping files.
20.How Can You Interact With Database Using Compute Node?
Ans:
Specify in Data Source the name through which the precise database is understood at the gadget on which this message glide is to execute.
21.What Exactly Do You Understand By Message Broker?
Ans:
A Message Broker is an middleman software that allows communicating multiple machine to each different by transforming, routing the messages within the way they want.
22.Why Do We Require Message Broker When We Have Mq?
Ans:
Both message broker and mq works as middleware packages, this is to assist speaking one of a kind systems, but mq has a mild disadvantage that it can’t remodel the messages. It can simply ship the message to other machine.
23.What Is The Difference Between Message Broker And Mq?
Ans:
WebSphere MQ allows communication among programs via sending and receiving message facts through messaging queues. WebSphere MQ affords a at ease and reliable layer of shipping for transferring records unchanged in the form of messages between applications however it isn’t always aware about the content of the messages.
WebSphere Message Broker is constructed to extend WebSphere MQ, and it’s far capable of knowledge the content material of every message that it movements thru the Broker.
Message Broker can do the following:
Matches and routes communications among services
Converts among distinctive transport protocols
Transforms message formats among requestor and provider
Identifies and distributes commercial enterprise occasions from disparate assets.
24.What Are The Advantages Of Using Websphere Message Broker?
Ans:
Websphere message broker offers offerings, primarily based on message agents to allow you to:
Route a message to several destinations, the usage of policies that act at the contents of 1 or extra of the fields within the message or message header.
Transform a message, in order that packages using unique formats can change messages of their personal formats.
Store a message, or a part of a message, in a database.
Retrieve a message, or part of a message, from a database.
Modify the contents of a message; for example, by adding facts extracted from a database.
25.What All Are The Main Components Used In Message Broker?
Ans:
The fundamental additives utilized in Message Broker Name Server are
- User Name Server
- Configuration Manager
- Broker
26.What Do You Understand By Broker Domain?
Ans:
Group of brokers below a unmarried configuration supervisor represent a Broker Domain.
27.What Is The Significance Of Nodes In Message Flows?
Ans:
A message glide node gets a message, plays a set of movements against the message, passes the authentic message or the changed message, to the next node in the message flow.
28.If Configuration Manager Is Down, What Are The Effects On The Running Brokers?
Ans:
The running dealer may also be down in the intervening time while configuration manager is down.
29.How Can We Create Broker?
Ans:
Two approaches to create broking:
By using Websphere Message Broker Explorer.
By the usage of command spark off.
30.What Is The Command Used To Create Broker?
Ans:
mqsicreatebroker is the command used to create broker.
31.What Is User Name Server?
Ans:
The User Name Server is an optionally available runtime issue that gives authentication of users and corporations and deliver an administrative manipulate over who can post and who can subscribe operations.
32.What Is The Role Of Username Server?
Ans:
The User Name Server interfaces with running gadget facilities to provide records about valid users and groups in a broking domain.
33.Can A Single Queue Manager Have Two Brokers?
Ans:
Not a unmarried queue supervisor can’t have brokers.
34.With Which Command One Can Deploy The Bar Files?
Ans:
Using the mqsideploy command you can still set up the bar documents.
35.What Is The Difference Between A Root And Outputroot?
Ans:
Root is used inside the Database content converting and in Filter node.
Output Root is used in the ESQL code for a Compute node that creates a new output message based totally on the enter message.
36.What Is The Use Of Configmanager?
Ans:
To Connect to the far flung broking or local broker and to install the message flows onto the Broker.
37.Which Perspective You Used To Deploy The Flow?
Ans:
Administrator angle is used to set up the glide.
38.What Do You Understand By Eai? Name Some Eai Tools?
Ans:
Enterprise Application Integration refers to the mixing of 1 or extra applications and methods together.
Tools: WBI Message Broker, Tibco, WebMethods and IC
39.What Do You Mean By An Execution Group?
Ans:
An execution group is a named grouping of message flows which have been assigned to a broker. The broking enforces a diploma of isolation among message flows in awesome execution businesses by means of making sure that they execute in separate cope with spaces, or as particular procedures.
40.What Is The Significance Of Schema In Message Broker?
Ans:
A broking schema is a image area that defines the scope of distinctiveness of the names of sources described within it. The assets are message flows, ESQL documents, and mapping documents.
41.What Are The Perspectives You Have Mainly Used While Development In Message Broker?
Ans:
The perspectives specifically used at the same time as the improvement in message dealer:
- Administration Perspective
- Application Development Perspective
- Debugging Perspective
- Java Perspective (MB 6)
42.What Is The Significance Of Message Flows In Message Broker?
Ans:
A message Flow describes the sequence of steps observed within the dealer that strategies an enter message while an enter message is acquired.
43.What Is Parser?
Ans:
A Parser is a application that takes the incoming message, translates its bit movement and creates an inner illustration of it in a tree like shape, which can be then apprehend by means of message dealer assembly.
44.What Is A Format?
Ans:
Physical Representation of a message is a Format.
45.What You Do To Make Your Services Actually Run?
Ans:
Packaging offerings in a BAR file and installation the BAR document on the broking.
46.What Is A Bar?
Ans:
Broker Archive or BAR is a package deal of message flows, message units, java utility training, xslts etc. Which are grouped collectively to be deployed on the broker.
47.Which Command Is Used To Create A Bar?
Ans:
mqsipackagebar command.
48.What Does Mqsiapplybaroverride Command Do?
Ans:
The mqsiapplybaroverride command is used to replace configurable values in the dealer archive (BAR) with new values that you specify in a homes record.
49.Which Nodes In Wmb Supports Aggregation?
Ans:
- AggregateControl
- AggregateRequest
- AggregateReply
50.Is It Possible To Create Multiple Instances Of A Message Flow?
Ans:
Yes. We can create a couple of instance of a message go with the flow via deploying the message flows to distinctive execution group.
51.What Is A Logical Message Tree?
Ans:
Logical message tree is the inner illustration of a message.
52.What Are The Types Of Trees?
Ans:
Four sub tree of a logical tree created via enter node of a message glide:
- Message tree
- Environment tree
- Local Environment tree
- Exception List tree.
53.What Is The Purpose Of A Filter Node?
Ans:
The reason of a filter out node is to course a message primarily based on the content material dynamically
54.What Are The Types Of Traces?
Ans:
- 1.User trace
- 2.Service trace.
55.What Are The Types Of Queues, One Can Create In Mq?
Ans:
- Local queue
- Remote queue
- Transmission queue
- Alias queue
- Dead letter queue
56.What Are The Types Of Clients In Mq?
Ans:
There are types of customers in MQ:
Fat Clients: Does have a nearby queue supervisor.
Slim clients: Does now not have a nearby queue manager, whereas the queue supervisor reside at the server.
57.With Which All Nodes One Can Change Message In A Message Flow?
Ans:
Compute Node, Message Mapping Node, Filter Node, ResetContentDescriptor Node ca trade message in a message drift.
58.What Will Happen If We Don’t Specify Queue Name In A Mqoutput Or Mqinput Node?
Ans:
Message will be sponsored out and an exception will be thrown with the message no queue call is described.
59.What Happen If A Message Is Sent To A Queue And The Queue Is Filled?
Ans:
Then the message goes to the relevant lifeless letter queue.
60.What Is The Difference Between Environment And Local Environment Tree?
Ans:
The environment tree differs from the local environment tree in that a unmarried example of it’s miles maintained throughout the message flow. If you include a Compute node, a Mapping node, or a JavaCompute node to your message flow, you do not must specify whether you need the surroundings tree to be covered inside the output message. The environment tree is included routinely, and the entire contents of the input surroundings tree are retained in the output surroundings tree. Any changes which you make are to be had to subsequent nodes inside the message glide, and to preceding nodes.
61.In What All Cases Message Goes Into Deadletter Queue?
Ans:
When the Destination queue is full
When the Destination queue doesn’t exist
When the incoming message too big
When the Sender isn’t always authorized to use the vacation spot queue.
62.Wmb Provide Supports For What Types Of Messages?
Ans:
WMB provide guide for following type of messages:
- 1.MRM
- 2.XML
- 3.XMLNS
- 4.XMLNSC
- 5.JMSMap
- 6.JMSStream
- 7.MIME
- 8.BLOB
- 9.IDOC
- 10.TOP
63.What Do You Mean By Correlation Names?
Ans:
A correlation call is a field reference referencing a nicely-defined start line inside the logical message tree and to explain a widespread part of the tree layout.
64.What Do You Mean By Resetcontentdescriptor Node?
Ans:
ResetContentDescriptor node request to parse the message with special parser, leaving the message content unchanged.
65.What Is The Difference Between An Mqget Node And Mqinput Node?
Ans:
The MQGet node reads a message from a specified queue, and establishes the processing environment for the message. Whereas, The MQInput node receives a message from a WebSphere MQ message queue that is described on the queue manager of the broking.
You can use an MQGet node everywhere in a message drift, unlike an MQInput node, which you could use most effective as the first node in a message flow.
66.What Is The Difference Between Soap Request Node And Soap Async Request Node?
Ans:
The SOAP Async Request node sends a Web provider request, but the node does now not look ahead to the related Web carrier response to be acquired. This asynchronous functionality enables more than one outbound requests to be made nearly in parallel because the outbound request isn’t always blocked waiting for the reaction.
Whereas, The SOAPRequest node is a synchronous request and response node, which blocks processing after sending the request till the reaction is received.
67.What Is The Difference Between Mapping Node And Compute Node Transformation?
Ans:
In Compute node you may remodel the message by way of coding ESQL in the ESQL useful resource file connected. Whereas, In mapping node you may use graphical maps to transform enter message with the aid of associating an input message version including a DFDL or XML schema, or an MRM Message Set and an output message version.
In compute node you could exchange the entire message even the header assemblies. But, In mapping node you may trade the message assembly, message frame, and homes.
68.What Is The Difference Between Input And Mqinput Node?
Ans:
Use the Input node as an In terminal for an embedded message flow (a subflow).The MQInput node receives a message from a WebSphere MQ message queue this is described at the queue manager of the broker. It is the primary node of your message flow.
69.What Is The Purpose Or Use Of Compute Node?
Ans:
The Compute node is used to:
Build a brand new message the usage of a hard and fast of task statements
Copy messages between parsers
Convert messages from one code set to any other
Transform messages from one format to another
70.How The Interaction With Database Does Take Place Using Compute Node?
Ans:
In Data Source specify the call by using which an appropriate database is understood on the system on which this message glide is to execute.
71.Difference Between Try Catch Node And Throw Node?
Ans:
Include a Throw node to force an blunders course thru the message drift if the content of the message includes surprising facts.
If a downstream node (which can be a Throw node) throws an exception, the TryCatch node catches it and routes the authentic message to its Catch terminal. Connect the Catch terminal to further nodes to provide error processing for the message after an exception.
72.How Will Input Messages With Different – Different Delimiters Between The Fields Are Handled In Wmb?
Ans:
Using MRM domain we will enter messages with extraordinary – exclusive delimeters between the fields in WMB.
73.What Do You Mean By Depth Of A Queue?
Ans:
Queue intensity, is the range of pending input/output messages in a queue.
74.How Can We Know The Current Depth Of A Queue?
Ans:
Using MQSC belongings CURDEPTH we will recognize the current depth of a queue.
75.Message Broker Supports What All Formats?
Ans:
Message Broker helps XML, TDS, CSV, CWF, EDIFACT, SWIFT, COBOL codecs
76.What Nodes Uses Esql?
Ans:
ESQL can be used with the Compute, Database, and Filter nodes.
77.What Is Esql?
Ans:
Extended Structured Query Language (ESQL) is a programming language based on Structured Query Language (SQL), that is usually used with relational databases along with DB2. ESQL extends the constructs of the SQL language to offer help which will paintings with each message and database content material.
78.What Functionality Esql Provides?
Ans:
- Through ESQL you could
- Change the message content.
- Modify an current message
- Create a new message
- Add dynamic terminals
- Route a message
- Propagate a brand new request
79.What Are The Types Of Variables In Esql?
Ans:
ESQL variables may be described as outside variables, everyday variables, or shared variables.
80.What Are External Variables, Normal Variables, Or Shared Variables?
Ans:
External variables:
Also referred to as consumer described residences.
Exist for whole lifestyles time of a message float and are visible to all messages exceeded through the float.
Defined at module or schema stage.
You should assign an initial value at the time of asserting an external variable after which can modify the preliminary price at deployment time by using the BAR editor.
Normal Variables:
Have life of just one message pass thru a node.
Visible to that message handiest in which it become described.
To outline, pass over each EXTERNAL and SHARED key-word.
Shared variable:
Used to put in force in-reminiscence cache in the message go with the flow.
Have an extended lifestyles time and are visible to multiple messages pass thru the drift.
Exist for the life of Execution group, lifetime of flow or node, lifetime of node’s ESQL that broadcasts the variable.
Initialized when the primary message skip via the node or flow after dealer startup.
81.What Are Patterns?
Ans:
A sample captures a examined solution to a usually routine hassle, addressing the objectives that you want to obtain.
82.What Are The Benefits Of Using Patterns?
Ans:
Patterns provide the subsequent advantages:
Give you steerage for the implementation of solutions.
Increase improvement efficiency, because assets are generated from a hard and fast of predefined templates.
Result in higher fine solutions, via reuse of assets and common implementation of programming techniques, including blunders coping with and logging.
83.How Do You Ensure That Messages Do Not Lose?
Ans:
For utility and internal messages travelling throughout WebSphere MQ, two strategies defend towards message loss:
Message persistence – If a message is continual, WebSphere MQ ensures that it isn’t lost while a failure takes place, with the aid of copying it to disk.
Sync factor control – An application can request that a message is processed in a synchronized unit-of-work .
84.How To Use Functions In Your Esql Code?
Ans:
Use CALL keyword to name functions or techniques.
85.What Are The Ways In Which You Can Access Databases From A Message Flow?
Ans:
You can get entry to a database from a message go with the flow in two approaches:
You can layout a message waft that responds to occasions generated through the database.
After a flow has already started out, you may get right of entry to the database to study or replace facts in it. Information from the database may be used to decorate or influence the operation of the message float.
86.What All Nodes Can Access Databases?
Ans:
We can access a database from a message waft by the use of the following nodes:
- Compute
- Database
- DatabaseInput
- DatabaseRetrieve
- DatabaseRoute
- Filter
- JavaCompute
- Mapping
87.What Is Publish/subscribe?
Ans:
Publish/subscribe is a style of messaging utility wherein the vendors of data (publishers) are decoupled from the consumers of that facts (subscribers).
88.What Are The Techniques Used In Transforming And Enriching Messages In Wmb?
Ans:
We can rework and enrich messages via the usage of one or greater of the following strategies:
- Mappings
- ESQL
- Java
- XSL fashion sheets
- PHP
- .NET
89.What Are The Basic Error Handling Techniques Available In Message Flow?
Ans:
There are two trendy techniques to handle errors in a message glide:
- 1.Failure checking
- 2.Catching Exceptions
90.What Are Message Models?
Ans:
Most message formats aren’t self-defining, and a parser need to have get entry to to a predefined version that describes the message, if it is to parse the message efficiently. A message version is utilized by WebSphere Message Broker to model a message layout.
91.What Are The Advantages Of Modeling Messages?
Ans:
Even in case your messages are self-defining, and do no longer require modeling, message modeling has the following advantages:
Runtime validation of messages. Without a message version, a parser can’t check whether or not input and output messages have the correct shape and statistics values.
Enhanced parsing of XML messages. Although XML is self-defining, all statistics values are treated as strings if a message model is not used. If a message model is used, the parser is provided with the records kind of statistics values, and can solid the records for this reason.
Improved productivity whilst writing ESQL. When you are creating ESQL programs for WebSphere Message Broker message flows, the ESQL editor can use message fashions to provide code final touch help.
Drag-and-drop operations on message maps. When you are creating message maps for WebSphere Message Broker message flows, the Message Mapping editor uses the message version to populate its supply and goal perspectives. Without message models, you can not use the Message Mapping editor.
Reuse of message models, in complete or in element, by way of growing additional messages which can be primarily based on present messages.
Generation of documentation.
Provision of model control and get admission to manage for message fashions via storing them in a crucial repository.
92.What Are The Ways To Create Message Models?
Ans:
You can create a message version through the use of the subsequent methods:
Importing an application message format that is defined by using an XML Schema, XML DTD, C structure, COBOL shape, SCA import or export, or WSDL definition.
By growing an empty message model document, then creating your message through the use of the editors provided in the WebSphere Message Broker Toolkit.
By using the Adapter Connection wizard to import EIS metadata.
By developing a populated model record from instance message records.
93.What Is The Difference Between Mqsicreatemsgdefs Or Mqsicreatemsgdefsfromwsdl Command-line Utilities?
Ans:
The mqsicreatemsgdefs command has a bulk import capability, but mqsicreatemsgdefsfromwsdl imports handiest one WSDL definition at a time.
94.What Are Message Sets?
Ans:
A message set is a folder in a message set assignment that consists of a logical grouping of your messages and the items that include them (elements, types, businesses).
95.What Is A Message Definition File?
Ans:
A message definition report includes the messages, elements, kinds, and corporations which make up a message version inside a message set. Every message set requires as a minimum one message definition report to explain its messages. Message definition documents use the XML Schema language to describe the logical format of one or extra messages.
96.What Is A Multipart Message?
Ans:
A multipart message incorporates one or more different messages within its structure. The contained message is sometimes known as an embedded message. A multipart message should comprise a collection, or a complicated type, with its Composition property set to Message.
97.What Is Triggering In Mq?
Ans:
A message is put to a queue defined as Triggering.
98.What Does A Propagate Keyword Do?
Ans:
The PROPAGATE declaration is used to generate a couple of output messages within the Compute node. The output messages may additionally have same or distinct message content material. You can also ship output messages to any change output terminals of the Compute node.
99.Why Do We Use Sequence Node?
Ans:
The Sequence node enables you to obtain companies of messages from an enter supply, and maintain the order in which the messages in each institution arrived.
100.Which Command Is Used To Modify Broker Parameters?
Ans:
mqsichangebroker command is used to regulate dealer parameters.
Are you looking training with Right Jobs?
Contact Us- Microsoft Azure Tutorial
- IBM WebSphere MQ Tutorial
- BizTalk Server Interview Questions and Answers
- Mule ESB Interview Questions and Answers
- Kafka Tutorial
Related Articles
Popular Courses
- Kafka Training
11025 Learners
- Mulesoft Training
12022 Learners
- Webmethods Training
11141 Learners
- What is Dimension Reduction? | Know the techniques
- Difference between Data Lake vs Data Warehouse: A Complete Guide For Beginners with Best Practices
- What is Dimension Reduction? | Know the techniques
- What does the Yield keyword do and How to use Yield in python ? [ OverView ]
- Agile Sprint Planning | Everything You Need to Know