Message Borker

download Message Borker

of 38

Transcript of Message Borker

  • 7/30/2019 Message Borker

    1/38

    Difference between Root and Output Root?

    Root is used in the Database content changing and in Filter node.

    Output Root is used in the ESQL code for a Compute node that creates a new output message

    based on the input message

    Is it possible to set Properties of node apart from right click and setting the properties?

    Windows Show View Basic Properties

    3) Which interface we have to implement when we are going to create an input custom node?

    MbInputNodeInterface

    Difference between RAD and ORDINARY deployment?

    Using Resource adapter deployment, we can reuse the deployment till the server is re-

    booted

    Define BROKER, BAR, EXECUTION GROUP, SCADA, and COMPONENTS OF

    BROKER,

    WORKBENCH, WORKSPACE, and CMM?

    BROKER: A broker is a set of execution processes that hosts one or more message flows to

    route, transform, and enrich inflight messages.

    BAR: Flows and sets that are to be deployed are packed in it and sent to configuration manager

  • 7/30/2019 Message Borker

    2/38

    EXECUTION GROUP:An execution group is a named grouping of message flows that have

    been assigned to a broker. The broker enforces a degree of isolation between

    message flows in distinct execution groups by ensuring that they execute in

    separate address spaces, or as unique processes

    SCADA: The SCADAInput node is used to receive messages from clients that connect to the

    broker across the WebSphere MQ Telemetry Transport. SCADA device clients use the MQIsdpprotocol to send messages, which are converted by the SCADAInput node into a format

    recognized by WebSphere Message Broker. The node also establishes the processingenvironment for these messages.

    COMPONENTS OF BROKER: Broker, Configmgr, User name service.

    WORKBENCH:

    WORKSPACE:

    What is PARSER and difference between PARSER and FORMAT?

    A Parseris defined as a program that interprets the bit stream of an incoming message and

    creates an internal representation of it in a tree structure

    Ex: MRM parser

    A Formatis a physical representation of a message.

    Ex: XML wire format

    What is ResetContentDescriptor node?

    Use the ResetContentDescriptor node to request that the message is reparsed by a different

    parser

  • 7/30/2019 Message Borker

    3/38

    What is User name Server and where it is defined?

    The User Name Server is an optional runtime component that provides authentication of users

    and groups performing publish/subscribe operations.

    What is SCHEMA of broker?

    A broker schema is a symbol space that defines the scope of uniqueness of the names ofresources defined within it. The resources are message flows, ESQL files, and mapping files.

    How can we see the error log files in broker?

    The Windows Event Viewer is where WebSphere Message Broker writes records to the local

    system.

    Default properties of Mqinput node?

    Property M C Default DescriptionMessage Domain No No The domain that will be used to parse the

    incoming message.

    Message Set No No The name or identifier of the message setin which the incoming message is

    defined.

    Message Type No No The name of the incoming message.

    Message Format No No The name of the physical format of the

    incoming message.

    Topic No Yes The default topic for the input message.

    Which node is used to change the message in the flow?

  • 7/30/2019 Message Borker

    4/38

    Compute Node, Filter Node and ResetContentDescriptor.

    What is the use of commit for connection to Databases?

    Any work that has been done using the respective data source in a message flow (including anyactions taken in the node) is committed regardless of the subsequent success or failure of the

    message flow

    Define Correlation names?

    A correlation name is a field reference that identifies a well-defined starting point in the logicalmessage tree and is used in field references to describe a standard part of the tree format.

    Functions of ESQL?

    MQInput node and INPUT node differences?

    You must use an Input node to provide the in terminal to a subflow.

    The Input node provides an in terminal for an embedded message flow (a subflow).

    How many Builtin nodes are there? Categories them?

    WebSphere Message Broker supplies built-in nodes that you can use to define your message

    flows. For information about each of these nodes, follow the appropriate link below. The nodes

    listed here are grouped according to the function that they provide.

    Input and output

    MQInput node

    MQOptimizedFlow node

    MQOutput node

  • 7/30/2019 Message Borker

    5/38

    MQGet node

    MQReply node

    Publication node

    MQeInput node

    MQeOutput node

    SCADAInput node

    SCADAOutput node

    HTTPInput node

    HTTPReply node

    HTTPRequest node

    Real-timeInput node

    Real-timeOptimizedFlow node

    Input node

    Output node

    JMSInput node

    JMSOutput node

    Message manipulation and transformation

    Compute node

    Database node

    DataDelete node

    Datalnsert node

    DataUpdate node

    Extract node

  • 7/30/2019 Message Borker

    6/38

    JavaCompute node

    JMSMQTransform node

    MQJMSTransform node

    Mapping node

    Warehouse node

    XMLTransformation node

    Collating requests

    AggregateControl node

    AggregateReply node

    AggregateRequest node

    Decision making

    Check node

    Filter node

    FlowOrder node

    Label node

    ResetContentDescriptor node

    RouteToLabel node

    TimeoutControl node

    TimeoutNotification node

    Validate node

  • 7/30/2019 Message Borker

    7/38

    Subflow identification

    Passthrough node

    Error handling and reporting

    Throw node

    Trace node

    TryCatch node

    What are the perspectives we have?

    Administration Perspective

    Application Development Perspective

    Debugging Perspective.

    Java Perspective (MB 6).

    In which perspective we deploy the flow?

    Administrator perspective

    How to create Broker from Command prompt?

    Using mqsicreatebroker command.

    Use of Configmanager?

    To deploy the message flows onto the Broker.

  • 7/30/2019 Message Borker

    8/38

    What is the uniqueness of MB over ICS?

    Parallel processing

    What is EAI? What are those tools?

    Enterprise Application Integration refers to the integration of one or more applications andprocesses together.

    Tools: WBI Message Broker, ICS, WebMethods and Tibco

    What is the Broker Domain?

    Group of brokers that coordinate a single configuration manager constitute a Broker Domain

    What error is going to occur when we didnt specify the queue name in the MQInput node?

    The Error message is Unset mandatory Qname Name Property on node MQInput.

    How to call the method or function in the coding?

    Using the CALL keyword.

    Performance monitoring tools?

    WebSphere Application Server , Java Management Extensions (JMX),

  • 7/30/2019 Message Borker

    9/38

    Functional Testing and Unit Testing?

    Unit testing with different test cases

    Functional testing with the exact input

    How many objects are required for distribution queuing?

    QueueManager, SenderChannel, ReceiverChannel, LocalQueue

    MQ Objects?

    Queue manager , Send queue ,Receive queue ,Administration queue, Administration queue

    ,Restart queue ,Spill queue

    Triggering in MQ?

    Distribution queuing?

    Unix Commands?

    grep, find, sortetc.

    Difference between MCA and MQI channels?

    A message channel connects two queue managers via message channel agents (MCAs). Such achannel is unidirectional. It comprises two message channel agents, a sender and a receiver, and

    a communication protocol. An MCA is a program that transfers messages from a transmission

    queue to a communication link, and from a communication link into the target queue.For

    bidirectional communication you have to define two channel pairs consisting of a sender

    and a receiver.

    A Message Queue Interface (MQI) channel connects an MQSeries client to a queue manager in

    its server machine. Clients dont have a queue managerof their own. An MQI channel is

    bidirectional.

  • 7/30/2019 Message Borker

    10/38

    How to configure MQ?

    By using runmqsc command.

    How will you Test your Flows?

    Using Debugging Mode, Trace Node ..etc..

    MQ-triggering, queues, initiation q, deadletter q, process definition, etc.?

    What workflow will do?

    A message Flow is a sequence of processing steps that execute in the broker

    when an input message when an input message is received.

    MQSI Server, MQSI Client difference? How to connect these two through command

    prompt?

    MQSeries Client

    A client workstation does not have a queue manager of its own. It shares a queue manager in aserver with other clients. All MQSeries objects, such as queues, are in the server.Since the

    connection between client and server is synchronous, the application cannot work when the

    communication is broken. You could refer to such workstations as slim clients.

    MQSeries Server

    A workstation can be a client and a server. A server is an intermediate node between other nodes.

    It serves clients that have no queue manager and manages the message flow between its clients,

    itself and other servers. In addition to the server software you may install the client software, too.This configuration is used in an application development environment

    Connection: strmqm QMA

    start runmqlsr -t tcp -m QMA -p 1414

  • 7/30/2019 Message Borker

    11/38

    runmqsc

    start channel (QMA.QMB)

    end

    How will you install and configure CVS & How will you use in MB?

    Double-click the Windows cvsnt-2.0.5.exe file to launch the installer.

    Displays CVS Setup window appears

    Select the option to accept the licence agreement and clickNext.

    Select Destination Directory screen, the default installation location is

    set to Workspace\cvsnt. If you have enough space to install to this

    location clickNext.

    The next screen asks you to choose the components that you wish to install,

    Make your selections and clickNext.

    The Typical installation option already contained all of the components and

    protocols that we needed.

    The next screen asks where the program should appear on the Start menu.

    Accept the default and clickNext.

    Ensure that both the check boxes to install the CVS services

    The Ready to Install screen lists the options you have selected. Click Install

    to start the installation. A progress bar appears while the files are copied.

    Finally, clickFinish when the completion window appears.

    Reboot the system. The installation of the CVS server is now complete.

  • 7/30/2019 Message Borker

    12/38

    Event Monitoring? (Performance monitoring> Queue depth event)?

    Q Depth High,Q Depth Low,Q Depth Full

    How will we use a Cobol copybook in MB?

    You can populate your message set with message definitions by importing COBOL copybookfiles, using either the New Message Definition File wizard or the mqsicreatemsgdefs command

    line utility.

    Types of messages?

    MRM

    XML

    XMLNS

    XMLNSC

    JMSMap

    JMSStream

    MIME

    BLOB

    IDOC

    Deadletter queue cases?

    Destination Q is full

    Destination Q doesnt exist

    Msg too large

    Sender is not authorized to use the destination Q

  • 7/30/2019 Message Borker

    13/38

    How many types of clients in MQ?

    Two Types

    Fat Clients

    Slim clients

    MQ commands?

    CRTMQM

    STRMQM

    DLTMQM

    ENDMQM

    To create Queues, listeners, and channels

    DEFINE QUEUE / CHANNEL

    DISPLYTo display the queue or channel status

    Difference between Circular logging and linear logging?

    Circular logging gives you restart recovery. Linear logging gives you both restart recovery andmedia recovery.

    Difference between MQCONN and MQCONNX?

    MQCONN (MQSTATE, qManagerName) : Connects to a queue manager, which is identified

    by qManagerName, a string of up to 48 characters. MQSeries sets the connection

    handle (MQSTATE.hconn) for use in subsequent calls.

  • 7/30/2019 Message Borker

    14/38

    MQCONNX (MQSTATE, qManagerName, MQCNO): Connects to a queue manager with

    options that control the way that the call works. The queue manager is identified by

    qManagerName, a string of up to 48 characters. MQSeries sets the connection

    handle (MQSTATE.hconn) for use in subsequent calls.

    Difference between MQPUT and MQPUT1?

    MQPUT(MQSTATE, MQMD, MQPMO, BUFFER) : Adds a message to the queue. The buffer

    cannot be more that 32767 bytes, but that restriction does not apply if you are

    using the EGL add statement.

    MQPUT1(MQSTATE, MQOD, MQMD, MQPMO, BUFFER): Opens a queue, writes a single

    message, and closes the queue

    Can we use MQPUT1 in java?

    Yes we can use.

    If we want to perform some operation at receiving application when it receives some

    message, then what objects are required at the receiving application?

    Target QM,

    Target Q,

    Receiver channel and

    Listener

    How to get the depth of a queue?

  • 7/30/2019 Message Borker

    15/38

    By using MQSC property CURDEPTH

    What formats MB support?

    XML, TDS, CWF, EDI, SWIFT

    Where do you place pass-thru node in message flow?

    In the sub flows immediate to the input node.

    Features of Message Broker?

    Routing,

    Transformation and

    Integration

    What is CVS (Concurrent Version System)?

    It is a repository that will store the previous versions.

    Difference between compute and mapping node?

    In the compute node we can change the headers but in Mapping node we cant change.

    Types of Queues in MQ?

  • 7/30/2019 Message Borker

    16/38

    local queue

    Remote queue

    Transmission queue

    Alias queue

    Dead letter queue

    How do you test your message flows and design test case?

    By using debugging perspective.

    We can create the Test Case according to the client specification error codes.

    If new functionalities (new nodes) are added how will you implement in Interface?

    How to configure Adapters?

    What are the different ways for giving input without using MQInput node?

    Custom input nodes

    Why we are migrating from Web Methods to MB?

    Advantages of compute node?

    To construct one or more new output messages.

    To build a new message using a set of assignment statements.

    To opy messages between parsers

  • 7/30/2019 Message Borker

    17/38

    To convert messages from one code set to another

    To transform messages from one format to another

    How can you interact with Database using Compute node?

    Specify in Data Source the name by which the appropriate database is known on the system onwhich this message flow is to execute.

    How will you handle errors in Message Flow?

    By using Debugging perspective, and Trace node.

    Explain about Pub-Sub? How do you implement MQ pub-sub?

    Difference between MQ pub-sub and MB pub-sub?

    The differences in the publish/subscribe support provided by WebSphere MQ and WebSphere

    Message Broker are described in the following topics:

    Message formats

    Streams

    Stream authority

    Topics

    Wildcard characters

    Default topic routing

    Retained publications

    Metatopics

    Subscription points

  • 7/30/2019 Message Borker

    18/38

    Content-based filtering

    Throughput

    Configuration of JDBC Adapter?

    Pub/Sub-MQRFH2 Header Settings?

    Reference: Question number 125.

    Aggregate nodes?

    Aggregation nodes are used in fan-out and fan-in process.

    Fan-out: The initial request to the message flow , representing a collection of related requested

    items, is split into the appropriate number of individual requests to satisfy the subtasks of the

    initial request.

    Fan-in: Replies from the subtasks are combined and merged into a single reply that is returned

    to the original requester (or another target application) to indicate the completion of theprocessing.

    WebSphere Message Broker provides three message flow nodes that support aggregation:

    AggregateControl

    AggregateRequest

    AggregateReply

    Filter node?

    To route a message according to message content.

  • 7/30/2019 Message Borker

    19/38

    Database node?

    To interact with a database in the specified ODBC data source.

    You can use specialized forms of this node to:

    Update values within a database table (the Data Update node)

    Insert rows into a database table (the Data Insert node)

    Delete rows from a database table (the Data Delete node)

    Store the message, or parts of the message, in a warehouse (the Warehouse node)

    Logical Message Tree? Message Tree Structure?

    The logical tree structure is the internal (broker) representation of a message.

    The message tree is a part of the logical message tree in which the broker stores its internal

    representation of the message body

    Can we create multiple instances of a message flow?

    Yes we can. One way is by adding multiple node. For ex.

    A single message flow can handle DATA received across MQ and

    Messages that are received across native IP connections.

    About Resetcontentdescripter node, Label node?

    ResetcontentdescripterNode: To request that the message is reparsed by a different parser.

    Label Node: use it in combination with a RouteToLabel node to dynamically determine theroute that a message takes through the message flow, based on its content. The RouteToLabel

    node interrogates the Local Environment of the message to determine the identifier of the Label

    node to which the message must next be routed.

  • 7/30/2019 Message Borker

    20/38

    What are the properties of TRACE Node?

    Property M C DefaultDescription

    Destination Yes No User

    Trace

    The destination of the trace record written by the

    node. Valid choices are User Trace, File, Local

    Error Log, and None.

    File Path No Yes The fully-qualified file name of the file to which

    to write records. Valid only if Destination is set

    to File.

    Pattern No No The data that is to be included in the trace record.

    Message Catalog No No The name of the message catalog from which the

    error text for the error number of the exception is

    extracted. The default value (blank) indicates thatthe message is taken from the message catalog

    supplied with WebSphere Message Broker.

    Message Number No No 3051 The error number of the message that is written.

    The Description properties of the Trace node are described in the following table.

    Property C Default Description

    Short Description No No A brief description of the node.

    Long Description No No Text that describes the purpose of the

    node in the message flow.

    What are the types of TRACES?

    User trace

    Service trace.

    User: used for debugging your applications. It can trace brokers, execution groups, and

    Deployed message flows.

    Service: More comprehensive Broker tracing. It starts tracing for workbench, configuration

    Manager, username server.

  • 7/30/2019 Message Borker

    21/38

    What is an Execution Group?

    An execution group is a named grouping of message flows that have been assigned to a broker.

    The broker enforces a degree of isolation between message flows in distinct execution groups by

    ensuring that they execute in separate address spaces, or as unique processes

    What are the types of Trees?

    Message Tree

    Environment Tree

    Local Environment Tree

    Exception list Tree

    What is the difference between Environment and Local Environment?

    The Environment tree is a part of the logical message tree in which you can store information

    while the message passes through the message flow

    What is the Role in your Project?

    Explain your role in the project

    How to connect Broker in MB?

    From Broker domain, using ConfigMgr.

    How to connect to database to the remote system?

    By doing node catalog and the database catalog.

  • 7/30/2019 Message Borker

    22/38

    What is the role of configuration manager?

    Connecting to the broker and to deploy the message flows.

    How to debug applications in message flow?

    Using Debugging perspective, User traces

    What is the content of the configuration manager Repository?

    It contains the information of the Broker Domain it is related to.

    Exception Handling in MB?

    By using Compute node, email node and java compute node.

    What is the difference between try catch node and throw node?

    The message routes out from the out terminal of the Try catch node and if any exception is

    thrown (say, by a throw node),then the try catch node catches it and sends the original message

    through the catch terminal for error processing

    In route to label node where we will gave label name, and syntax of the label name?

    SET OutputLocalEnvironment.Destination.RouterList.DestinationData.labelname=name of thelabel to which the message is to be routed ;

    Assignment in processing node?

  • 7/30/2019 Message Borker

    23/38

    How does Message Broker handle a 500 MB input message?

    What is the difference between hconn and hconnx?

    Hconn is a handle used to connect to Queue manager in MQCONN and MQCONNX api calls.

    How will you separate (more number) database exceptions into a different queue?

    (Mention 2 ways)

    How will you accept an incoming message if its length and structure are not

    defined?

    How do you change a blob to a fixed structure?

    Using TDS, what properties will you set in the message set for the following input:

    abc,123|a*xyz,k,55 (i.e., an input message with different delimiters between different data

    types), input might not be in the same manner every time.

    Are there any wire formats that MB support other than xml and cwf?

    Which is good based on performance IF or CASE. Why?

    CASE

    In clustering, which queue manager will contain the default full repository?

  • 7/30/2019 Message Borker

    24/38

    We will be setting the properties at the time of creation of the Queue manager.

    We are getting 4 different inputs in 4 formats. How will you handle them using

    single message set without using cwf format?

    In remote queuing, if the queue on the target queues manager is full, then to which

    dead letter queue will the message propagate?

    Target dead letter queue

    What are the different configuration management tools?

    Tivoli, Clear case.

    Functionality of mapping node?

    Mapping node to construct one or more new messages and populate them with new information,

    with modified information from the input message, or with information taken from a database.

    You can modify elements of the message body data, its associated environment, and itsexception list.

    If new functionalities (new nodes) are added how will you implement in Interface?

    How will you handle CWF and TDS format?

    By developing message sets and using them in the message flow.

  • 7/30/2019 Message Borker

    25/38

    How will you trace the errors through command prompt?

    Mqsiformatlog, Mqsilist, Mqsichangetrace, mqsireadlog and mqsireporttrace

    How can you validate the XML message in the flow?

    Using a Message set with the required XML format or by using validate node.

    How will you set headers in pub-sub?

    By setting the MQRFH2 headers

    E.g.:

    SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;

    SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = MQSTR;

    SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;

    SET OutputRoot.MQRFH2.psc.Command = RegSub;

    SET OutputRoot.MQRFH2.psc.Topic = InputRoot.MRM.topel;

    SET OutputRoot.MQRFH2.psc.QMgrName= DebugQM;

    SET OutputRoot.MQRFH2.psc.QName = PUBOUT;

    SET OutputRoot.MQRFH2.psc.RegOpt= PersAsPub;

    Explain about PROPAGATE and LAST MOVE?

    The PROPAGATE statement is used to generate multiple output messages in the Compute node.The output messages that you generate can have the same or different content. You can also

    direct output messages to any of the four alternate output terminals of the Compute node, or to a

    Label node.

    The LASTMOVE field function tells you whether the last MOVE function succeeded.

  • 7/30/2019 Message Borker

    26/38

    Logical Message Tree? Message Tree Structure?

    The logical tree structure is the internal (broker) representation of a message.

    The message tree is a part of the logical message tree in which the broker stores its internal

    representation of the message body

    Can we create multiple instances of a message flow?

    Yes by deploying the message flow to different execution groups.

    How to import COBOLCOPY BOOK or C format?

    By importing the COBOLCOPY BOOK or C file into the existing project and building a

    message definition file from this imported structures.

    What are the properties MQMD and MQRFH2 Headers?

    MQMD are a must headers and are present from starting to end of the message flow butMQRFH2 are optional and are set according to the business need.

    What are the properties of TRACE Node?

    Destination, File Path, Pattern, Message Catalog and Message Number

    What are the types of TRACES?

    User trace, service trace, ODBC trace, WebSphere MQ Java Client trace, and Configuration

    Manager Proxy trace.

  • 7/30/2019 Message Borker

    27/38

    What are the types of Trees?

    The input node creates the logical tree, which consists of four sub trees:

    Message tree

    Environment tree

    Local Environment tree

    Exception List tree

    What is the difference between Environment and Local Environment?

    Environment variables scope is defined for the whole flow where as the Local Environment

    variables scope is defined for that node and can be passed on to the next node as well.

    How to connect Broker in MB?

    Using configuration manager.

    How to connect to database to the remote system?

    By ODBC driver name.

    Exception Handling in MB?

    By using the following nodes

    Throw node

    Trace node

    Try Catch node

  • 7/30/2019 Message Borker

    28/38

    What is the difference between try catch node and throw node?

    Throw node throws an exception where as a try catch node is used to handle the error, which is

    raised.

    Difference between Root and Output Root?

    Both are correlation names. Root is used in nodes which do not create a new output where asOutput Root is used in a node which can create a new output node.

    In route to label node where we will gave label name, and syntax of the label

    name assignment in processing node?

    By setting the Local Environment variable

    Syntax:

    LocalEnvironment.Destination.Routerlist.DestinationData = Label name;

    Define SCADA?

    The SCADAInput node is used to receive messages from clients that connect to the broker acrossthe WebSphere MQ Telemetry Transport. SCADA device clients use the MQIsdp protocol to

    send messages, which are converted by the SCADAInput node into a format recognized by

    WebSphere Message Broker. The node also establishes the processing environment for thesemessages.

    Will broker run on AIX system or not?

    Yes

    If the comments for CopyEntireMessage() and CopyMessageHeaders() functions

  • 7/30/2019 Message Borker

    29/38

    are not removed, then what will happen?

    Functionality of floworder node?

    FlowOrder node to control the order in which a message is processed by a message flow. Theinput message is propagated to the first output terminal and the sequence of nodes connected to

    this terminal process the message. When that message processing is complete, control returns to

    the FlowOrder node. If the message processing completes successfully, the input message ispropagated to the second output terminal and the sequence of nodes connected to this terminal

    processes the message.

    Is there any alternative for MQ to use along with MB?

    No.

    How to suspend a queue manager in a cluster?

    In the Navigator view (in the Queue Manager Clusters folder), right-click the queue manager, the

    click Suspend cluster membership

    What happens if a message is sent to a local queue, which is filled, and a remote

    queue, which is filled? Any difference in them?

    The message moves to the relevant default deadletter queue

    Can we give all the format types in a single message set, If so how?

    YES.

    How will you declare an array in MB and how will you retrieve the desired value

    from an array?

  • 7/30/2019 Message Borker

    30/38

    Two types of representations

    Dynamic Arrays

    Structure-field arrays.

    Dynamic Arrays:

    Syntax:

    myDataItem01 CHAR(30)[] { maxSize=5 };

    Structure-field arrays:

    record myRecord01Part

    10 name[3];

    20 firstOne CHAR(20);

    20 midOne CHAR(20);

    20 lastOne CHAR(20);

    end

    To retrieve Values:

    MyRecord01.name.lastOne[2]

    MyRecord01.lastOne [2]

    lastOne[2]

    What are the properties of .bar file and when they are used?

    The unit of deployment to the broker is the broker archive or barfile.The bar file is a zip-formatfile which can contain a number of different files:

  • 7/30/2019 Message Borker

    31/38

    A .cmf file for each message flow. This is a compiled version of the message flow. You can have

    any number of these files within your bar file.

    A. dictionary file for each message set dictionary. You can have any number of these files within

    your bar file.

    A broker.xml file. This file is called the broker deployment descriptor. You can have only one of

    these files within your bar file. This file, in XML format, resides in the META-INF folder of thezip file and can be modified using a text editor or shell script.

    Any number of XML files(.xml) and style sheets (.xsl files) for use with the

    XMLTransformation node.

    Any number of JAR files for use with the Java Compute node.

    As a zip-format archive, the broker archive file can also contain any additional files you need.

    For example, you might want to include Java source files for future reference.

    How will you handle an input message with different delimiters between the

    fields?

    Using MRM domain

    What are the advantages of Message broker?

    Comprehensive monitoring using predefined workspaces that provide statistical information such

    as Current Message Rates, Current Average Message Time, and Sub-flow Statistics.

    Comprehensive solution for complex WebSphere MQ environments that enables drill down to

    problem components

    Custom workspaces can be tailored for individual job functions

    What happens when the queue name is not specified in the MQOutput node?

    Message is backed out.

  • 7/30/2019 Message Borker

    32/38

    what is the difference between catch terminal and failure terminal in MQInput

    node?

    Catch terminal: The output terminal to which the message is routed if an exception

    is thrown downstream and caught by this node.

    Failure terminal: failure terminal detects an internal error, it propagates the

    message to that terminal.

    The output terminal to which the message is routed if an error occurs. Even if the Validation

    property is set, messages propagated to this terminal are not validated.

    What are the differences between MB 5.0 and 6.0?

    Some additional nodes are added Like Java Compute node.

    Configuration manager can be created with out referring database.

    Can be installed and configured on Aix also.

    How to specify reference keyword in the esql and what is the use of it?

    Declare ptr REFERENCE TO InputRoot.xml.emp.eno;

    Here, ptr refers to a specific field reference

    About SAP connector?

    What is the need of transaction mode property in the compute node?

    The transaction mode for the node. This can beAutomaticorCommit. It is valid only if you

    have selected a database table for input

    What are the types of data formats that MB will support?

  • 7/30/2019 Message Borker

    33/38

    XML,TDS,CWF

    What is the difference between TDS and CWF?

    The Tagged/Delimited String format (TDS) is the physical representation of a message that has anumber of data elements separated by tags and delimiters.

    Custom Wire Format (CWF) is the physical representation of a message that is composed of a

    number of fixed format data structures or elements, which are not separated by delimiters

    Command used to deploy?

    Using mqsideploy

    What should you do before creating the broker and the configuration manager?

    We have to create the data source name and Queue manager

    Types of testing?

    Explain about web services nodes?

    WebSphere MQ Web Services Transport connects Web services and clients that use the HTTP

    protocol for messaging

    A WSDL definition for that service can be imported into a message set using the new WSDL

    importer.

    HTTPInput: node to receive Web service requests for processing by a message

    flowUse theHTTPRequestnode to interact with a Web service

    SET OutputRoot.HTTPResponseHeader= NULL;

  • 7/30/2019 Message Borker

    34/38

    HTTPReply :node to return a response from the message flow to the Web service

    client.

    Select the Ignore Transport Failures check box if you want transport-related failures to beignored (for example, if the client is disconnected). If you clear the check box, and a transport-

    related error occurs, the input message is propagated to the failure terminal. If you clear the

    check box, you must supply a value for Reply send timeout.

    Set the Reply send timeout value if you are not ignoring transport failures. This is the length of

    time that the node waits for an acknowledgment that the client has received the reply.

    Explain about JMS nodes?

    JMS Input Node: to receive messages from JMS destinations.

    The JMSInput node receives and propagates messages with a JMS message tree. You can set theproperties of the JMSInput node to control the way that the JMS messages are received.

    JMS Output Node: to send messages to JMS destinations

    Process of clustering and what are the advantages of clustering?

    Grouping up of two or more Queue managers

    Advantages : load balancing,reduces network traffic

    Working of XML Transformation node?

    Used to transform an XML message to another form of XML message, according to the rules

    provided by an XSL (eXtensible Stylesheet Language) style sheet.

    You can use node properties. This ensures that the transformation defined by this single style

    sheet is applied to every message processed by this node.

    You can use the content of the XML data within the message itself. This transforms the message

    according to a style sheet that the message itself defines.This behavior is only available for XSLand XML files that are located within a Message Flow project.

  • 7/30/2019 Message Borker

    35/38

    You can set a value within the LocalEnvironment folder associated with the message. This

    provides a dynamic choice of style sheet, because you must set this value (in a Compute node)within the message flow after receipt of the message. You can therefore use a variety of inputs to

    determine which style sheet to use for this message, such as the content of the message data or a

    value in a database.

    Configuration of HTTP Input Node?

    HTTP INPUT Node:

    In URL Selector, put the path part of the URL from which this node receives Web service

    requests. Do not give the full URL.

    Enter the Maximum client wait time timeout interval, as a number of seconds. This is the length

    of time that the TCP/IP listener that received the input message from the Web service clientwaits for a response from the HTTPReply node in the message flow. If a response is received

    within this time, the listener propagates the response to the client. If a response is not received in

    this time, the listener sends a SOAP Fault message to the client that indicates that its timeout hasexpired.

    Select the Fault Format as one of SOAP 1.1, SOAP 1.2 or HTML.

    If the node is to accept secure HTTP, select the Use HTTPS check box.

    Select Default in the properties dialog navigator and set values for the properties describing the

    message domain, message set, message type, and message format that the node uses to determinehow to parse the incoming message.

    In the Message Domain field, select the name of the parser that you are using from the drop-down list. You can choose from:

    MRM

    XML

    XMLNS

    XMLNSC

    JMSMap

    JMSStream

  • 7/30/2019 Message Borker

    36/38

    IDOC

    MIME

    BLOB

    If you are using the MRM or IDOC parser, select the correct message set from the drop-down listin the Message Set field. This list is populated with available message sets when you select

    MRM or IDOC as the domain.

    Leave the Message Set field blank for XML, XMLNS, XMLNSC, JMS, MIME, and BLOB

    parsers.

    If you are using the MRM parser, select the correct message from the drop-down list in Message

    Type. This list is populated with messages that are defined in the message set that you have

    selected.

    Leave Message Type blank for XML, XMLNS, XMLNSC, JMS, IDOC, MIME, and BLOB

    parsers.

    If you are using the MRM or IDOC parser, Select the format of the message from the drop-downlist in the Message Format field. This list includes all the physical formats that you have defined

    for this message set.

    Leave the Message Format field blank for XML, XMLNS, XMLNSC, JMS, MIME, and BLOB

    parsers.

    Select Validation in the properties dialog navigator if you want the MRM parser to validate thebody of messages against the dictionary generated from the message set. (If a message is

    propagated to the failure terminal of the node, it is not validated.)

    Select General Message Options in the properties dialog navigator. Parse Timing is, by default,

    set to On Demand. This causes validation to be delayed until it is parsed by partial parsing. If

    you change this to Immediate, partial parsing is overridden and everything in the message isparsed and validated, except those complex types with a Composition of Choice or Message that

    cannot be resolved at the time. If you change this to Complete, partial parsing is overridden and

    everything in the message is parsed and validated; complex types with a Composition of Choiceor Message that cannot be resolved at the time cause a validation failure.

    Select Description in the properties dialog navigator to enter a short description, a longdescription, or both.

    Click Apply to make the changes to the HTTPInput node without closing the properties dialog.Click OK to apply the changes and close the properties dialog.

  • 7/30/2019 Message Borker

    37/38

    Click Cancel to close the dialog and discard all the changes that you have made to the properties.

    Websphere Message Broker Interview Questions - Middleware News

    Websphere Message Broker Interview Questions

    =============================================

    Part -1 :Basics

    1. What are advantages of using message broker?

    2. Why do you need message broker when you have MQ?

    3. Tell me few difference between v6.0 and v6.1

    4. What is message flow?

    5. What are the main 3 components of Message Broker?

    6. What are broker domains?

    7. What is the interface betweem Toolkit, internal configuration and brokers?

    8. What are nodes in message flows?

    9. What happens to the running brokers, if configuration manager is down?

    10. More general FAQs on IBM site: http://www-01.ibm.com/software/integration/wbimessagebroker/v6/faqs.html

    Part-2 (Install&Configure)

    1. How do you create broker database in Windows/Linux (commands)

    2. Where can you find the default odbc32.ini file? (location)

    3. What are the 3 important parts of the odbc32.ini file ?

    4. what happens, if you do not create the required 'Q's in MQ before running mqsicreate

    commands?

    5. What is the command to create a broker?

  • 7/30/2019 Message Borker

    38/38

    6. on mqsicreatebroker command what does the parameter '-j' specifies?

    7. What does '-s' parameter specifies on mqsicreateconfigmgr command

    8. How do you change ConfigurationTimeout and ConfigurationDelayTimeout for a givenbroker?

    9. What does mqsilist command do ?

    10. After finishing installation and starting the components, where do you check the logs to see

    the most recent events.

    11. How do you initilize the environment before starting the broker components?

    12. How can you add additional environment settings/scripts to the broker environment? or

    where do place the custom scripts that needs to be sourced while initilizing the brokerenvironment.

    13. If you cannot update mqsiprofile for database related information, In what other way can we

    supply the required information to the broker environment