51. What is the use of Local Environment?
Ans: LocalEnvironment tree may or may not live throughout the thread lifetime. That means there is a mechanism which decides whether or not to pass the LocalEnvironment trees throughout the flow.
-The Lifetime of this tree structure is limited some nodes.
-It is used to carry variables that need to be accessed in the next nodes in the flow.
- Local Environment has some special use such as to set the message destinations.
52. How Aggregate, XSLT, Passthrough, Route To Label, Flow order node work?
Ans: Aggregate: Aggregation is the generation and fan-out of related requests that are derived from a single input message, and the fan-in of the corresponding replies to produce a single aggregated reply message.
XSLT: (Extensible StyleSheet Language) the XSLTransform node to transform an XML message to another form of message, according to the rules provided by an XSL (Extensible Stylesheet Language) style sheet, and to set the Message domain, Message set, Message type, and Message formatfor the generated message.
Here we should provide the "stylesheet name".
Passthrough: Use the Passthrough node to enable version control of a subflow at run time.
Use the Passthrough node to add a label to your message flow or subflow. By combining this label with keyword replacement from your version control system, you can identify which version of a subflow is included in a deployed message flow. You can use this label for your own purposes.
The Passthrough node does not process the message in any way. The message that it propagates on its Out terminal is the same message that it received on its In terminal.
It has 1 In and 1 out terminal.
Route To Label: Use the RouteToLabel node in combination with one or more Label nodes to dynamically determine the route that a message takes through the message flow, based on its content.
Or
It is jus used to route the message to the specified Label name.
Route to Label node in IIB/WMB can be used to dynamically route the message based on the message content. The combination of Route to Label and the Label node will do this dynamic routing. In order to use route to Label node, we need to set the destination list in the Localenvironment message tree using a compute node before passing the message to the route to label node. In the Basic tab of the route to Label node, there is the mode property specified and by default it is been selected as ‘Route to Last‘
Flow Order: Controls the order in which the message is processed.
The FlowOrder node propagates the input message to the first output terminal. If the message processing completes successfully, the FlowOrder node propagates the input message to the second output terminal.
It has 1 In terminal and 3 out terminal(failure, first, second).
53. What is the difference between HTTP and SOAP node?
Ans: - HTTP nodes handle the HTTP protocol.
SOAP nodes handle SOAP messages.
- We can use SOAP nodes with SOAP message domain OR HTTP transport nodes with XMLNSC message domain to implement Web Services
Several advantages exist if we use SOAP nodes :
· Support for WS-Addressing, WS-Security and SOAP headers.
· A common SOAP logical tree format, independent of the bitstream format.
· Runtime checking against WSDL.
· Automatic processing of SOAP with Attachments (SwA). (Although the HTTP nodes can process SwA messages, we must use the MIME message domain)
· Automatic processing of Message Transmission Optimization Mechanism (MTOM).
Cases where it might be better to use HTTP nodes include:
· Message flows that interact with Web services that use different standards, such as REST or XML-RPC. (We don't have a WSDL definition)
· Message flow that never use WS-Addressing, WS-Security, SwA, or MTOM.
OR
(SOAP nodes send and receive SOAP-based Web services messages, allowing a message flow to interact with Web service endpoints. The messages might be plain SOAP, SOAP with Attachments (SwA), or Message Transmission Optimization Mechanism (MTOM). The nodes are configured using Web Services Description Language (WSDL) and support WS-Security and WS-Addressing.
Nodes: SOAPInput and SOAPReply, SOAPRequest , SOAPAsyncRequest and SOAPAsyncResponse
Hypertext Transfer Protocol (HTTP) is a widely used standard protocol built on top of the TCP/IP stack for request/reply-based communications. HTTP is simply a protocol for communication between an HTTP client and an HTTP server. It does not let you interact with non-HTTP-enabled services in your enterprise.
Nodes: HTTPInput node, HTTPReply node, HTTPRequest node, HTTPHeader, HTTPAsyncRequest, HTTPAsyncResponse node)
54. How timer nodes are used and which among them are stand alone?
Ans:
55. In case of rollback in Aggregation and Flow order node etc, how we should take care of complete roll back?
56. How Database nodes are used? What is the diffrence between Database and compute node?
Ans: In DataBase node , some properties have to set i.e; DataSource name andconnection of the flow. And ESQL statements are used that specify the data from the input message, and perhaps transform it in some way.
Database Node fetches data from the database specified. It can store the messages. Database node to interact with a database in the specified ODBC data source.
Difference:
- Some of the V7 patterns use Database nodes in preference to Compute nodes, with the following reasoning in the description: "Note that database module is used even though no data source is being referenced. This node is used to enhance performance as no part of the message tree has to be copied."
**- The actual difference between the Database node and the Compute node is NOT the accessing of databases as both nodes can do this, which does mean their names can be slightly confusing. The actual (and only) difference is that a ComputeNode always creates a new message (even if you never use it), whereas a Database node never creates a new message. You can obviously do more in a Compute node than in a DB node (like create a changed OutputRoot message which you can not do in a DB node). But if all you want to do in the node is access and/or change the Envrionment or LocalEnvrionment trees then you can do this in the Database node which is why the patterns used the DB node where they do as they are simply setting a flag in the LE.
57. What is filter node? How many terminal it has and why are used? When are unknown terminals used?
FilterNode: Filter node to route a message according to message content. You define the route by coding the filter expression in ESQL.
4 Terminals: In: The input terminal that accepts a message for processing by the node
Failure: The output terminal to which the message is routed if a failure is detected during the computation.
Unknown:
False: The output terminal to which the message is routed if the specified filterexpression evaluates to false
and True: The output terminal to which the message is routed if the specifiedfilter expression evaluates to true.
Is It possible to do transformation in filter node?
Ans: Yes, we can write Esql and use it as a transformation node.
If value is a>50 true and a<50 False is set in the code. If a=50, which terminal the message will go, False or unknown?
Ans: It goes to Unknown terminal.
58. Which are the default ports of HTTP nodes and SOAP nodes?
The default SOAP node port numbers are 7800 and 7843 for HTTPS .
59. What is the internal working of JMSMQ Tranform node?
JMSMQTransform node to transform a message with a JMS message tree into a message that has a message tree structure that is compatible with the format of messages that are produced by the WebSphere® MQ JMS provider.
The JMS nodes can be used in both publish/subscribe and point-to-point messaging.
- The JMSMQTransform node takes the output of the JMSInput or JMSReceive node, and produces a message that can be handled by an MQOutput node.