WebSphere Message Broker Interview Questions


Question: What all nodes can access databases?
  Question: What is Publish/Subscribe? 
Question:  What are the techniques used in transforming and enriching messages in WMB?
Question:  What are the basic error handling techniques available in message flow?  
Question:  What are message models?
Question:  What are the advantages of modeling messages?
Question:  What are the ways to create message models?
Question: What is the difference between mqsicreatemsgdefs or mqsicreatemsgdefsfromwsdl command-line utilities?
Question:  What are message sets?
Question:  What is a message definition file?
Question:  What is a multipart message?
Question:  What is Triggering in MQ?
Question: What does a PROPAGATE keyword do?
Question: Why do we use Sequence node?

Question:

Which command is used to modify broker parameters?

Question:

What is the purpose of using mqsichangeproperties command?
   

Q:

What all nodes can access databases?

A: We can access a database from a message flow by using the following nodes:

  • Compute
  • Database
  • DatabaseInput
  • DatabaseRetrieve
  • DatabaseRoute
  • Filter
  • JavaCompute
  • Mapping
 

Q:

What is Publish/Subscribe?

A: Publish/subscribe is a style of messaging application in which the providers of information (publishers) are decoupled from the consumers of that information (subscribers).
 

Q:

What are the techniques used in transforming and enriching messages in WMB?

A: We can transform and enrich messages by using one or more of the following techniques:

  • Mappings
  • ESQL
  • Java
  • XSL style sheets
  • PHP
  • .NET
 

Q:

What are the basic error handling techniques available in message flow?

A: There are two general approaches to handle errors in a message flow:

  • Failure checking
  • Catching Exceptions
 

Q:

What are message models?

A: Most message formats are not self-defining, and a parser must have access to a predefined model that describes the message, if it is to parse the message correctly. A message model is used by WebSphere Message Broker to model a message format.
 

Q:

What are the advantages of modeling messages?

A: Even if your messages are self-defining, and do not require modeling, message modeling has the following advantages:

  • Runtime validation of messages. Without a message model, a parser cannot check whether input and output messages have the correct structure and data values.
  • Enhanced parsing of XML messages. Although XML is self-defining, all data values are treated as strings if a message model is not used. If a message model is used, the parser is provided with the data type of data values, and can cast the data accordingly.
  • Improved productivity when writing ESQL. When you are creating ESQL programs for WebSphere Message Broker message flows, the ESQL editor can use message models to provide code completion assistance.
  • 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 model to populate its source and target views. Without message models, you cannot use the Message Mapping editor.
  • Reuse of message models, in whole or in part, by creating additional messages that are based on existing messages.
  • Generation of documentation.
  • Provision of version control and access control for message models by storing them in a central repository.
 

Q:

What are the ways to create message models?

A: You can create a message model by using the following methods:

  • Importing an application message format that is described by an XML Schema, XML DTD, C structure, COBOL structure, SCA import or export, or WSDL definition.
  • By creating an empty message model file, then creating your message by using the editors provided in the WebSphere Message Broker Toolkit.
  • By using the Adapter Connection wizard to import EIS metadata.
  • By creating a populated model file from example message data.
    .
 

Q:

What is the difference between mqsicreatemsgdefs or mqsicreatemsgdefsfromwsdl command-line utilities?

A:

The mqsicreatemsgdefs command has a bulk import capability, but mqsicreatemsgdefsfromwsdl imports only one WSDL definition at a time.

 

Q:

What are message sets?

A: A message set is a folder in a message set project that contains a logical grouping of your messages and the objects that comprise them (elements, types, groups).
 

Q:

What is a message definition file?

A: A message definition file contains the messages, elements, types, and groups which make up a message model within a message set. Every message set requires at least one message definition file to describe its messages. Message definition files use the XML Schema language to describe the logical format of one or more messages.
 

Q:

What is a multipart message?

A:
A multipart message contains one or more other messages within its structure. The contained message is sometimes referred to as an embedded message. A multipart message must contain a group, or a complex type, with its Composition property set to Message.

 

Q:

What is Triggering in MQ?

A: A message is put to a queue defined as Triggering.
 

Q:

What does a PROPAGATE keyword do?

A:

The PROPAGATE statement is used to generate multiple output messages in the Compute node. The output messages may have same or different message content. You can also send output messages to any alternate output terminals of the Compute node.

 

Q:

Why do we use Sequence node?

A:

The Sequence node enables you to receive groups of messages from an input source, and preserve the order in which the messages in each group arrived.

 

Q:

Which command is used to modify broker parameters?

A: mqsichangebroker command is used to modify broker parameters.

Q:

What is the purpose of using mqsichangeproperties command?

A: mqsichangeproperties command can be used to change properties associated with a broker such as:

  • that affect the whole broker; for example, an HTTP listener or Service Federation Management
  • that affect one or more execution groups; for example, the broker registry
  • that affect a configurable service; for example, a JMS provider.

 

WebSphere Message Broker Interview Questions

Similar Topics
Forum For Java Interview Questions new

Java Interview Questions
Java Collection Interview Questions
JSP Interview Questions
Servlet Interview Questions
EJB Interview Questions
JMS Interview Questions
Struts Interview Questions
Spring Interview Questions
WMB Interview Questions
DB Interview Questions

Use of this website constitutes acceptance of the AllAppLabs.com Terms and Conditions