Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- org.apache.camel.component.file.GenericFileOperationFailedException: Cannot store file: C:homeWRKPRCWLNEIPTVKRKRLPPM10FATALSLPNPM_FGIDRO01_ID0006_T20190312050500.DAT
- at org.apache.camel.component.file.FileOperations.storeFile(FileOperations.java:354) ~[camel-core-2.23.1.jar:2.23.1]
- at org.apache.camel.component.file.GenericFileProducer.writeFile(GenericFileProducer.java:305) ~[camel-core-2.23.1.jar:2.23.1]
- at org.apache.camel.component.file.GenericFileProducer.processExchange(GenericFileProducer.java:169) ~[camel-core-2.23.1.jar:2.23.1]
- at org.apache.camel.component.file.GenericFileProducer.process(GenericFileProducer.java:80) ~[camel-core-2.23.1.jar:2.23.1]
- ....
- @FixedLengthRecord(length=3005, header=KRHeader.class, footer=KRTailer.class)
- public class KRFixedFormat implements Serializable {
- private static final long serialVersionUID = 1L;
- @DataField(pos=1, length=1,trim=true)
- private String sType;
- @DataField(pos=2, length=7, trim=true, align="L")
- private String sRecordSeq;
- @DataField(pos=9, length=1, trim=true, defaultValue="2")
- private char sServiceType;
- ...
- <doTry id="_CheckException">
- <camel:convertBodyTo charset="ISO-8859-1"
- id="_ConvertEncoding" type="java.lang.String"/>
- <camel:unmarshal id="_FileParsing">
- <camel:bindy
- classType="com.ktds.openmzn.dao.KRFixedFormat"
- locale="korea" type="Fixed"/>
- </camel:unmarshal>
- <doCatch id="_ParsingException">
- <exception>org.apache.camel.component.bean.MethodNotFoundException</exception>
- <exception>org.apache.camel.NoTypeConversionAvailableException</exception>
- <toD id="_MoveErrorFile" uri="file:${header.CamelFileParent}/FATAL"/>
- </doCatch>
- </doTry>
- ...
- H20190312050500GIDRO01LPNPM
- R0000001269056802668 D201903 ....
- T000000120190312050500000000003091
- KRFixedFormat [sType=R, sRecordSeq=0000001, sServiceType=2, sChrgId=69056802668, ....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement