Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. org.apache.camel.component.file.GenericFileOperationFailedException: Cannot store file: C:homeWRKPRCWLNEIPTVKRKRLPPM10FATALSLPNPM_FGIDRO01_ID0006_T20190312050500.DAT
  2. at org.apache.camel.component.file.FileOperations.storeFile(FileOperations.java:354) ~[camel-core-2.23.1.jar:2.23.1]
  3. at org.apache.camel.component.file.GenericFileProducer.writeFile(GenericFileProducer.java:305) ~[camel-core-2.23.1.jar:2.23.1]
  4. at org.apache.camel.component.file.GenericFileProducer.processExchange(GenericFileProducer.java:169) ~[camel-core-2.23.1.jar:2.23.1]
  5. at org.apache.camel.component.file.GenericFileProducer.process(GenericFileProducer.java:80) ~[camel-core-2.23.1.jar:2.23.1]
  6. ....
  7.  
  8. @FixedLengthRecord(length=3005, header=KRHeader.class, footer=KRTailer.class)
  9. public class KRFixedFormat implements Serializable {
  10. private static final long serialVersionUID = 1L;
  11.  
  12. @DataField(pos=1, length=1,trim=true)
  13. private String sType;
  14.  
  15. @DataField(pos=2, length=7, trim=true, align="L")
  16. private String sRecordSeq;
  17.  
  18. @DataField(pos=9, length=1, trim=true, defaultValue="2")
  19. private char sServiceType;
  20.  
  21. ...
  22.  
  23. <doTry id="_CheckException">
  24. <camel:convertBodyTo charset="ISO-8859-1"
  25. id="_ConvertEncoding" type="java.lang.String"/>
  26. <camel:unmarshal id="_FileParsing">
  27. <camel:bindy
  28. classType="com.ktds.openmzn.dao.KRFixedFormat"
  29. locale="korea" type="Fixed"/>
  30. </camel:unmarshal>
  31. <doCatch id="_ParsingException">
  32. <exception>org.apache.camel.component.bean.MethodNotFoundException</exception>
  33. <exception>org.apache.camel.NoTypeConversionAvailableException</exception>
  34. <toD id="_MoveErrorFile" uri="file:${header.CamelFileParent}/FATAL"/>
  35. </doCatch>
  36. </doTry>
  37. ...
  38.  
  39. H20190312050500GIDRO01LPNPM
  40. R0000001269056802668 D201903 ....
  41. T000000120190312050500000000003091
  42.  
  43. KRFixedFormat [sType=R, sRecordSeq=0000001, sServiceType=2, sChrgId=69056802668, ....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement