[ https://issues.apache.org/activemq/browse/CAMEL-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59558#action_59558 ]
Claus Ibsen commented on CAMEL-2731: ------------------------------------ Hi Christian Smooks is planning to integrate with Camel natively http://blog.smooks.org/2010/02/22/apache-camel-smooks/ So I think you should get in touch with them to see how it goes and maybe help try it out or test it etc. I would prefer Bindy to be kept as is without being dependent on Smooks. And Smooks uses a non Apache friendly license so we cannot provide it in the source code here at Apache > Camel-bindy should be able to process fix length records > -------------------------------------------------------- > > Key: CAMEL-2731 > URL: https://issues.apache.org/activemq/browse/CAMEL-2731 > Project: Apache Camel > Issue Type: Improvement > Components: camel-bindy > Affects Versions: 2.3.0 > Environment: All > Reporter: Christian Mueller > Assignee: Christian Mueller > Fix For: 2.4.0 > > > Camel-bindy should be able to process fix length records which has no > separators: > A sample line could looks like: > {code} > 4711123456789065432109876543219999999999999999 > {code} > 4711 is the companyId > 1234567890 is the cardProgram > 6543210987654321 is the accountNumber > 9999999999999999 is the cardNumber > Created a POJO with the Camel bindy annotations: > {code} > @CsvRecord(separator = "") > public class CSVRecord implements Serializable { > > @DataField(pos = 1, length = 4) > private String companyId; > > @DataField(pos = 2, length = 10) > private String cardProgram; > @DataField(pos = 3, length = 16) > private String accountNumber; > > @DataField(pos = 4, length = 16) > private String cardNumber; > // getter and setter > } > {code} > See > [nabble|http://old.nabble.com/camel-bindy%3A-not-possible-to-process-fix-length-records-without-separators--ts28584909.html] > for details. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.