...
Warning |
---|
Expert properties are meant for advanced users; use with caution. |
Figure 2: Expert properties for XML2MT
...
Refer to the Process Message Based On a Property section under the Common Configurations page.
Message Schema Directory
If this property is used, the file name mentioned in Message Schema File will be located from Message Schema Directory.
Figure 3: Message Schema Directory
Threadpool Configuration
This property is used when there is a need to process messages in parallel within the component, still maintaining the sequence from the external perspective.
...
Use Feeder and Display components to send sample input and check the response respectively.
Figure 34: Event process demonstrating scenarios
...
Info |
---|
Schema file used in this example is "fin.103.2020.xsd" from the sample schema location %FIORANO_HOME%\xml-catalog\fiorano\swift\mtxml\2020. |
Figure 45: XML2MT microservice configured with MT103 (2020) with the schema file path provided
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="UTF-8"?> <FinMessage xmlns="urn:swift:xsd:mtmsg.2020"><!--line=0--> <Block1> <ApplicationIdentifier>F</ApplicationIdentifier> <ServiceIdentifier>01</ServiceIdentifier> <LogicalTerminalAddress>AAAAGRA0AXXX</LogicalTerminalAddress> <SessionNumber>0057</SessionNumber> <SequenceNumber>000289</SequenceNumber> </Block1><!--line=0--> <Block2> <OutputIdentifier>O</OutputIdentifier> <MessageType>103</MessageType> <InputTime>0919</InputTime> <MessageInputReference> <Date>010321</Date> <LTIdentifier>BBBBGRA0A</LTIdentifier> <BranchCode>XXX</BranchCode> <SessionNumber>0057</SessionNumber> <ISN>000171</ISN> </MessageInputReference> <Date>010321</Date> <Time>0920</Time> <MessagePriority>N</MessagePriority> </Block2><!--line=0--> <Block3><!--line=0--> <F108>MT103 003 OF 045</F108><!--line=0--> <F121>c8b66b47-2bd9-48fe-be90-93c2096f27d2</F121> </Block3><!--line=0--> <Block4> <Document xmlns="urn:swift:xsd:fin.103.2020"> <MT103> <F20a><!--line=1--> <F20>5387354</F20> </F20a> <F23a_1><!--line=2--> <F23B>CRED</F23B> </F23a_1> <F23a_2><!--line=3--> <F23E> <InstructionCode>PHOB</InstructionCode> <AdditionalInformation>20.527.19.60</AdditionalInformation> </F23E> </F23a_2> <F32a><!--line=4--> <F32A> <Date>000526</Date> <Currency>USD</Currency> <Amount>1101,50</Amount> </F32A> </F32a> <F33a><!--line=5--> <F33B> <Currency>USD</Currency> <Amount>1121,50</Amount> </F33B> </F33a> <F50a><!--line=6--> <F50K> <NameAndAddress> <Line>FRANZ HOLZAPFEL GMBH</Line> <Line>VIENNA</Line> </NameAndAddress> </F50K> </F50a> <F52a><!--line=8--> <F52A> <IdentifierCode>BKAUATWW</IdentifierCode> </F52A> </F52a> <F59a><!--line=9--> <F59> <NameAndAddress> <Line>723491524</Line> <Line>C. KLEIN</Line> <Line>BLOEMENGRACHT 15</Line> <Line>AMSTERDAM</Line> </NameAndAddress> </F59> </F59a> <F71a_1><!--line=13--> <F71A>SHA</F71A> </F71a_1> <F71a_2><!--line=14--> <F71F> <Currency>USD</Currency> <Amount>10,</Amount> </F71F> </F71a_2> <F71a_2><!--line=15--> <F71F> <Currency>USD</Currency> <Amount>10,</Amount> </F71F> </F71a_2> <F72a><!--line=16--> <F72> <NarrativeStructuredFormat> <Line1> <Code>INS</Code> <Narrative>CHASUS33</Narrative> </Line1> </NarrativeStructuredFormat> </F72> </F72a> </MT103> </Document> </Block4><!--line=17--> <Block5><!--line=17--> <CHK>DE1B0D71FA96</CHK> </Block5> </FinMessage> |
Output
Figure 56: Display window with the output message for Scenario 1 input
...
Info |
---|
Schema file used in this example is "fin.101.2018.xsd" from the sample schema location %FIORANO_HOME%\xml-catalog\fiorano\swift\mtxml\2018. |
Figure 67: XML2MT microservice configured with MT101 (2018) with the schema file path provided
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="UTF-8"?> <FinMessage xmlns="urn:swift:xsd:mtmsg.2018"><!--line=0--> <Block1> <ApplicationIdentifier>F</ApplicationIdentifier> <ServiceIdentifier>01</ServiceIdentifier> <LogicalTerminalAddress>SAESVAV0AXXX</LogicalTerminalAddress> <SessionNumber>0466</SessionNumber> <SequenceNumber>020121</SequenceNumber> </Block1><!--line=0--> <Block2> <OutputIdentifier>O</OutputIdentifier> <MessageType>101</MessageType> <InputTime>1538</InputTime> <MessageInputReference> <Date>070522</Date> <LTIdentifier>LRLRXXXX4</LTIdentifier> <BranchCode>A07</BranchCode> <SessionNumber>0000</SessionNumber> <ISN>591065</ISN> </MessageInputReference> <Date>070522</Date> <Time>1739</Time> <MessagePriority>N</MessagePriority> </Block2><!--line=0--> <Block3><!--line=0--> <F108>MT101 001 OF 019</F108> </Block3><!--line=0--> <Block4> <Document xmlns="urn:swift:xsd:fin.101.2018"> <MT101> <SeqA> <F20a><!--line=1--> <F20>00028</F20> </F20a> <F28a><!--line=2--> <F28D> <MessageIndex>1</MessageIndex> <Total>1</Total> </F28D> </F28a> <F50a_2><!--line=3--> <F50H> <Account>VTB.2003.02</Account> <NameAndAddress> <Line>19Apr2002</Line> </NameAndAddress> </F50H> </F50a_2> <F30a><!--line=5--> <F30>020419</F30> </F30a> </SeqA> <SeqB> <F21a_1><!--line=6--> <F21>x</F21> </F21a_1> <F32a><!--line=7--> <F32B> <Currency>USD</Currency> <Amount>1,</Amount> </F32B> </F32a> <F50a_1><!--line=8--> <F50L>x</F50L> </F50a_1> <F59a><!--line=9--> <F59> <Account>x</Account> <NameAndAddress> <Line>x</Line> </NameAndAddress> </F59> </F59a> <F71a><!--line=11--> <F71A>OUR</F71A> </F71a> </SeqB> </MT101> </Document> </Block4><!--line=12--> <Block5><!--line=12--> <CHK>24857F4599E7</CHK><!--line=12--> <TNG/> </Block5> </FinMessage> |
Output
Figure 78: Display window with the output message for Scenario 2 input
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="UTF-8"?> <FinMessage xmlns="urn:swift:xsd:mtmsg.2018"><!--line=0--> <Block1> <ApplicationIdentifier>F</ApplicationIdentifier> <ServiceIdentifier>01</ServiceIdentifier> <LogicalTerminalAddress>AAAAGRA0AXXX</LogicalTerminalAddress> <SessionNumber>0057</SessionNumber> <SequenceNumber>000289</SequenceNumber> </Block1><!--line=0--> <Block2> <OutputIdentifier>O</OutputIdentifier> <MessageType>103</MessageType> <InputTime>0919</InputTime> <MessageInputReference> <Date>010321</Date> <LTIdentifier>BBBBGRA0A</LTIdentifier> <BranchCode>XXX</BranchCode> <SessionNumber>0057</SessionNumber> <ISN>000171</ISN> </MessageInputReference> <Date>010321</Date> <Time>0920</Time> <MessagePriority>N</MessagePriority> </Block2><!--line=0--> <Block3><!--line=0--> <F108>MT103 003 OF 045</F108><!--line=0--> <F121>c8b66b47-2bd9-48fe-be90-93c2096f27d2</F121> </Block3><!--line=0--> <Block4> <Document xmlns="urn:swift:xsd:fin.103.2018"> <MT103> <F20a><!--line=1--> <F20>5387354</F20> </F20a> <F23a_1><!--line=2--> <F23B>CRED</F23B> </F23a_1> <F23a_2><!--line=3--> <F23E> <InstructionCode>PHOB</InstructionCode> <AdditionalInformation>20.527.19.60</AdditionalInformation> </F23E> </F23a_2> <F32a><!--line=4--> <F32A> <Date>000526</Date> <Currency>USD</Currency> <Amount>1101,50</Amount> </F32A> </F32a> <F33a><!--line=5--> <F33B> <Currency>USD</Currency> <Amount>1121,50</Amount> </F33B> </F33a> <F50a><!--line=6--> <F50K> <NameAndAddress> <Line>FRANZ HOLZAPFEL GMBH</Line> <Line>VIENNA</Line> </NameAndAddress> </F50K> </F50a> <F52a><!--line=8--> <F52A> <IdentifierCode>BKAUATWW</IdentifierCode> </F52A> </F52a> <F59a><!--line=9--> <F59> <NameAndAddress> <Line>723491524</Line> <Line>C. KLEIN</Line> <Line>BLOEMENGRACHT 15</Line> <Line>AMSTERDAM</Line> </NameAndAddress> </F59> </F59a> <F71a_1><!--line=13--> <F71A>SHA</F71A> </F71a_1> <F71a_2><!--line=14--> <F71F> <Currency>USD</Currency> <Amount>10,</Amount> </F71F> </F71a_2> <F71a_2><!--line=15--> <F71F> <Currency>USD</Currency> <Amount>10,</Amount> </F71F> </F71a_2> <F72a><!--line=16--> <F72> <NarrativeStructuredFormat> <Line1> <Code>INS</Code> <Narrative>CHASUS33</Narrative> </Line1> </NarrativeStructuredFormat> </F72> </F72a> </MT103> </Document> </Block4><!--line=17--> <Block5><!--line=17--> <CHK>DE1B0D71FA96</CHK> </Block5> </FinMessage> |
Output
Figure 89: Display window with the output message for Scenario 3 input
...