|
9 | 9 | <nodes xmi:type="ComIbmFileExists.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_1" location="15,26" inputDirectory="C:\temp\FileIterator\Input" listMode="true"> |
10 | 10 | <translation xmi:type="utility:ConstantString" string="File Exists"/> |
11 | 11 | </nodes> |
12 | | - <nodes xmi:type="ComIbmTrace.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_2" location="209,26" destination="file" filePath="C:\temp\FileIterator\Traces\Trace1.txt" pattern="===== ${CURRENT_TIMESTAMP} LocalEnvironment =====
${LocalEnvironment}"> |
| 12 | + <nodes xmi:type="ComIbmTrace.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_2" location="209,26" destination="file" filePath="C:\temp\FileIterator\Traces\Trace1.txt" pattern="===== ${CURRENT_TIMESTAMP} =====
The LocalEnvironment generated by the FileExists node (with List mode turned on) was as shown below:
${LocalEnvironment}"> |
13 | 13 | <translation xmi:type="utility:ConstantString" string="Trace1"/> |
14 | 14 | </nodes> |
15 | 15 | <nodes xmi:type="ComIbmFileIterator.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_3" location="409,85"> |
|
18 | 18 | <nodes xmi:type="ComIbmFilter.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_4" location="617,85" filterExpression="esql://routine/#ExampleFileIteratorFlow_Filter.Main"> |
19 | 19 | <translation xmi:type="utility:ConstantString" string="Filter"/> |
20 | 20 | </nodes> |
21 | | - <nodes xmi:type="ComIbmFileRead.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_5" location="833,60"> |
| 21 | + <nodes xmi:type="ComIbmFileRead.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_5" location="833,60" messageDomainProperty="JSON"> |
22 | 22 | <translation xmi:type="utility:ConstantString" string="File Read"/> |
23 | 23 | </nodes> |
24 | | - <nodes xmi:type="ComIbmTrace.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_6" location="835,125" destination="file" filePath="C:\temp\FileIterator\Traces\Trace2.txt" pattern="===== ${CURRENT_TIMESTAMP} LocalEnvironment =====
The message flow is not going to bother reading ${LocalEnvironment.File.Name} which will just be deleted
"> |
| 24 | + <nodes xmi:type="ComIbmTrace.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_6" location="835,125" destination="file" filePath="C:\temp\FileIterator\Traces\Trace2.txt" pattern="===== ${CURRENT_TIMESTAMP} =====
The message flow is not going to bother reading and parsing the file ${LocalEnvironment.Destination.File.Name} 
The file ${LocalEnvironment.Destination.File.Name} had a LastModified timestamp of ${LocalEnvironment.Destination.File.LastModified}
The current timestamp is ${CURRENT_TIMESTAMP} 
The file ${LocalEnvironment.Destination.File.Name} was last modified before today and so will just be deleted by the message flow.
"> |
25 | 25 | <translation xmi:type="utility:ConstantString" string="Trace2"/> |
26 | 26 | </nodes> |
27 | | - <nodes xmi:type="ComIbmTrace.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_7" location="1039,55" destination="file" filePath="C:\temp\FileIterator\Traces\Trace3.txt" pattern="===== ${CURRENT_TIMESTAMP} =====
The file ${LocalEnvironment.File.Name} has been parsed and contained the following data:
${Root}"> |
| 27 | + <nodes xmi:type="ComIbmTrace.msgnode:FCMComposite_1" xmi:id="FCMComposite_1_7" location="1039,55" destination="file" filePath="C:\temp\FileIterator\Traces\Trace3.txt" pattern="===== ${CURRENT_TIMESTAMP} =====
The file ${LocalEnvironment.Destination.File.Name} has been parsed and contained the following data:
${Root.JSON.Data.Fruit}"> |
28 | 28 | <translation xmi:type="utility:ConstantString" string="Trace3"/> |
29 | 29 | </nodes> |
30 | 30 | <connections xmi:type="eflow:FCMConnection" xmi:id="FCMConnection_1" targetNode="FCMComposite_1_2" sourceNode="FCMComposite_1_1" sourceTerminalName="OutTerminal.out" targetTerminalName="InTerminal.in"/> |
|
0 commit comments