Sequence used to assign sequence number and sequncegroup id to message which is travelled from source to destination nodes.
When we are going for sequence nodes 4 things we need to set
1.sequence number path. Mandatory
2.sequence group identifier. Optional(but useful with large messages)
3.start of sequence. Mandatory
4.end of sequence. Mandatory
(observe below properties figure).
STEP1:MESSAGE FLOW WITH MANDATORY PROPERTIES OF SEQUENCE NODE
FIGURE2:SEQUENCE NODE PROPERTIES
ERRORS:
Erro1:we nedd to specify following Red color rounded properties otherwise error will come.
If we doesn't specify the
sequence number path,
start sequence,
end sequence.
Then error will come it wont deploy consider next figure for example
see red color blocks in the above figure cross option (i.e error ) came,so it is impossible to deploy in to the broker. Observe clearly their i didn't mention start sequence,end sequence.
Erro2: when we doesn't mention the incoming parser type in the sequence number path then error won't come but output will not come.see the below figure.(OBSERVE FIGURE 2 sequence number path )
Even if we add broker project to debug it will come again and again.
IMPORTANT NOTE: If we any internal error came message reverse back to sequence node failure terminal if node is connected otherwise it reverse back to mq input node failure terminal if node is connected otherwise it will be in mq input node.
OUTPUT: first observe FIGURE 2 where we given the sequence id also then observe the output
INPUT:
<DATA><Seqid>arun</Seqid><Seq>0</Seq><message>dd</message><Seqid>arun</Seqid><Seq>1</Seq><message>dd1</message></DATA>
No comments:
Post a Comment