WebSphere Message Broker Interview Questions


Question: What do you mean by ResetContentDescriptor node?
  Question: What is the difference between an MQGet node nd MQInput node? 
Question:  What is the difference between SOAPRequest node and SOAPAsyncRequest node?
Question:  What is the difference between Mapping node and Compute node transformation?  
Question:  What is the difference between Input and MQInput node?
Question:  What is the purpose or use of compute node?
Question:  How the interaction with Database does take place using Compute node?
Question: Difference between try catch node and throw node?
Question:  How will input messages with different - different delimiters between the fields are handled in WMB?
Question:  What do you mean by depth of a Queue?
Question:  How can we know the current depth of a queue?
Question:  Message Broker supports what all formats?
Question: What all nodes uses ESQL?
Question: What is ESQL?

Question:

What functionality ESQL provides?

Question:

What are the types of variables in ESQL?

Question:

What are external variables, normal variables, or shared variables?

Question:

What are patterns?

Question:

What are the benefits of using patterns?

Question:

How do you ensure that messages do not lose?

Question:

How to use functions in your esql code?

Question:

What are the ways in which you can access databases from a message flow?
   

Q:

What do you mean by ResetContentDescriptor node?

A: ResetContentDescriptor node request to parse the message with different parser, leaving the message content unchanged.
 

Q:

What is the difference between an MQGet node nd MQInput node?

A: 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 defined on the queue manager of the broker.

You can use an MQGet node anywhere in a message flow, unlike an MQInput node, which you can use only as the first node in a message flow.
 

Q:

What is the difference between SOAPRequest node and SOAPAsyncRequest node?

A:

The SOAPAsyncRequest node sends a Web service request, but the node does not wait for the associated Web service response to be received. This asynchronous functionality enables multiple outbound requests to be made almost in parallel because the outbound request is not blocked waiting for the response.

Whereas, The SOAPRequest node is a synchronous request and response node, which blocks processing after sending the request until the response is received.

 

Q:

What is the difference between Mapping node and Compute node transformation?

A: In Compute node you can transform the message by coding ESQL in the ESQL resource file attached. Whereas, In mapping node you can use graphical maps to transform input message by associating an input message model such as a DFDL or XML schema, or an MRM Message Set and an output message model.

In compute node you can change the entire message even the header assemblies. But, In mapping node you can change the message assembly, message body, and properties.
 

Q:

What is the difference between Input and MQInput node?

A: 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 that is defined on the queue manager of the broker. It is the first node of your message flow.
 

Q:

What is the purpose or use of compute node?

A: The Compute node is used to:

  • Build a new message using a set of assignment statements
  • Copy messages between parsers
  • Convert messages from one code set to another
  • Transform messages from one format to another
 

Q:

How the interaction with Database does take place using Compute node?

A:

In Data Source specify the name by which the appropriate database is known on the system on which this message flow is to execute.

 

Q:

Difference between try catch node and throw node?

A:

Include a Throw node to force an error path through the message flow if the content of the message contains unexpected data.

If a downstream node (which can be a Throw node) throws an exception, the TryCatch node catches it and routes the original message to its Catch terminal. Connect the Catch terminal to further nodes to provide error processing for the message after an exception.

 

Q:

How will input messages with different - different delimiters between the fields are handled in WMB?

A: Using MRM domain we can input messages with different - different delimeters between the fields in WMB.
 

Q:

What do you mean by depth of a Queue?

A: Queue depth, is the number of pending input/output messages in a queue.
 

Q:

How can we know the current depth of a queue?

A:
Using MQSC property CURDEPTH we can know the current depth of a queue.

 

Q:

Message Broker supports what all formats?

A: Message Broker supports XML, TDS, CSV, CWF, EDIFACT, SWIFT, COBOL formats
 

Q:

What all nodes uses ESQL?

A:

ESQL can be used with the Compute, Database, and Filter nodes.

 

Q:

What is ESQL?

A:

Extended Structured Query Language (ESQL) is a programming language based on Structured Query Language (SQL), which is commonly used with relational databases such as DB2. ESQL extends the constructs of the SQL language to provide support for you to work with both message and database content.

 

Q:

What functionality ESQL provides?

A: Through ESQL you can

  • Change the message content.
  • Modify an existing message
  • Create a new message
  • Add dynamic terminals
  • Route a message
  • Propagate a new request
 

Q:

What are the types of variables in ESQL?

A: ESQL variables can be described as external variables, normal variables, or shared variables.
 

Q:

What are external variables, normal variables, or shared variables?

A:          External variables:

  • Also known as user defined properties.
  • Exist for entire life time of a message flow and are visible to all messages passed through the flow.
  • Defined at module or schema level.
  • You have to assign an initial value at the time of declaring an external variable and then can modify the initial value at deployment time by using the BAR editor.

    Normal Variables:

  • Have lifetime of just one message pass through a node.
  • Visible to that message only in which it was defined.
  • To define, omit both EXTERNAL and SHARED keyword.

    Shared variable:

  • Used to implement in-memory cache in the message flow.
  • Have a long life time and are visible to multiple messages pass through the flow.
  • Exist for the lifetime of Execution group, lifetime of flow or node, lifetime of node’s ESQL that declares the variable.
    Initialized when the first message pass through the node or flow after broker startup.
 

Q:

What are patterns?

A: A pattern captures a tested solution to a commonly recurring problem, addressing the objectives that you want to achieve.
 

Q:

What are the benefits of using patterns?

A: Patterns provide the following benefits:

  • Give you guidance for the implementation of solutions
  • Increase development efficiency, because resources are generated from a set of predefined templates
  • Result in higher quality solutions, through reuse of assets and common implementation of programming approaches, such as error handling and logging
 

Q:

How do you ensure that messages do not lose?

A: For application and internal messages traveling across WebSphere MQ, two techniques protect against message loss:

  • Message persistence - If a message is persistent, WebSphere MQ ensures that it is not lost when a failure occurs, by copying it to disk.
  • Sync point control - An application can request that a message is processed in a synchronized unit-of-work .

 

Q:

How to use functions in your esql code?

A: Use CALL keyword to call functions or methods.
 

Q:

What are the ways in which you can access databases from a message flow?

A: You can access a database from a message flow in two ways:

  • You can design a message flow that responds to events generated by the database.
  • After a flow has already started, you can access the database to read or update information in it. Information from the database can be used to enhance or influence the operation of the message flow.

 

 

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