When we work with Message Broker toolkit, it is the 'Message' which flows between the nodes; These messages are nothing but the actual business data on which business logic works. This post explains how these message are processed between the nodes (The background picture of message processing)
Message Tree :
Parser :
Message Tree :
- When a Message Flow gets any input message bit stream it gets converted into tree structure by parser/s (Logical Message Tree).
- It contains business data, elements & structured sequence of bytes.
- Once the manipulation is done it again converts into bit stream.
- Logical tree is same as message but it is easier to work on.
- The Message Flow nodes provide an interface to query, update, or create the content of the tree.
- Logical properties along with the actual message required to convert from physical to logical format.(Serialization)
- Physical properties along with the actual logical message required to convert from logical to physical format. (Deserialization)
Parser :
- Every parser is messages class(group) basis, Say for example we have a domain (group or set of different message types ie; fixed-length binary, delimited text, or XML),for this domain we require a parser.
- When we create a message set, we specify which message domains the message set supports. This determines which parsers are used when we parse and write messages that are defined within that message set.So we have parser for each message domain.
- It is a property that can be set on an input node to indicate the type of message that the node expects to process, and selects the appropriate parser for the flow to use. Examples are XML and MRM.
- The message domain identifies the parser that is used to parse and write instances of the message. The remaining parts of the message template, message set, message type, and physical format, are optional, and are used by model-driven parsers such as the MRM parser.
- MRM -> Only one available message domain that converts any format to any format ( we need to define the format ie xml,cwf, TDS ...)
nice post..thank you .
ReplyDelete