Questions tagged [bindy]

Bindy is a component for Apache-Camel for parsing/binding non-structured data (e.g. CSV records) to/from Java Beans.

Bindy is a component for for parsing/binding non-structured data to/from Java Beans.

It has a support for:

  • CSV records
  • Fixed-length records,
  • FIX messages,
  • or almost any other non-structured data

Bindy evaluates the annotations in the used Java Beans to determine the record structure and to perform the parsing/binding between the data records and the Beans.

99 questions
0
votes
2 answers

How can I handle fixedLengthformat data?

I handle some data with fixed length. So I use bindy component for treating this data. This file has only one record. The record has header, multi bodies, and footer. header record (total length : 20) 1 : record_type (length : 1) VOLTE :…
이성규
  • 125
  • 11
0
votes
1 answer

Camel Bindy giving Undesolved Dependency error on Talend ESB Karaf

I've a peculiar issue with trying to use a route which uses Bindy. blueprint.core - 1.8.3 | Unable to start blueprint container for bundle xxxx.yyyy/0.1.0 due to unresolved dependencies…
Screwtape
  • 1,337
  • 2
  • 12
  • 27
0
votes
1 answer

camel Bindy @csvRecord generate Footer

I have generated CSV file with camel Bindy using @csvRecord, but unable generate footer for this csv to show total count of records in file. I could able to generate with @FixedLenght record but not with @csvRecord. Please provide any suggestions
redyabkees
  • 13
  • 4
0
votes
0 answers

Camel bindy fixed-lenth file with delimeter

I am using camel-bindy in order to create fixed-length files. I am creating the file correct, but I have a new request to separate each field-column with character ";". Thus at the end I need to have a fixed-length file semicolon separated. Do you…
Themis Pyrgiotis
  • 876
  • 5
  • 15
0
votes
2 answers

Flat file with delimited records

I was looking for a way to parse flat file that contains nested records. As an example I have file containig a line NAME,SURNAME,ADRESSLINE1|ADDRESSLINE2|ADDRESLINE3,PHONE1|PHONE2 In the end i would hope it to map to POJO class Record { String…
0
votes
0 answers

Apache Camel: how to process a file not inbound

I currently have a route which is triggered by the arrival of a file in a specific folder. The file then is parsed using Bindy DataFormat and the resulting objects processed by myProcessor: from(inboundFile) .log("Processing: ${file:name}") …
Gep
  • 848
  • 13
  • 29
0
votes
1 answer

camel jdbc and outputClass option

I want to read from DB and create a CSV file. In order to do that I am using camel-jdbc and camel-bindy. First I set the body with the SELECT statement. SELECT [vendor], [ean], [itemid] AS itemId, [quantity] FROM…
Themis Pyrgiotis
  • 876
  • 5
  • 15
0
votes
0 answers

Camel Bindy Fixed Length with Complex Structures

I am trying to understand whether bindy is able to manage some of the complex structures I am being asked to use to model a fixed length row. I have a model that has nested classes and one of the nested classes its self references a class that is…
Paul B
  • 51
  • 4
0
votes
1 answer

Camel: Dealing with dynamic columns in CSV file with BindyCSVFormat

I'm fairly new to Apache Camel. I've been writing routes that process a csv file using the BindyCsvformat class. So far, the CSV files I'm processing are fairly straight-forward, in the sense that they have a fixed number of records. So using the…
rm12345
  • 1,089
  • 3
  • 18
  • 32
0
votes
1 answer

Empty @Link fields not in CSV, missing columns

I'm trying to generate a CSV file with fields from multiple entities. In my Camel route I have a BindyCsvDataFormat for my entity. However, if SubEntity is null then the SubEntity fields are not exported to the CSV file as "". So certain rows are…
tomr
  • 171
  • 1
  • 8
0
votes
1 answer

Using Bindy with List

i want to use Bindy to map a List of objects. For Example I have class x: @CsvRecord(separator = ",") public class User { protected List skills; } public class Skill { protected String name; } How can I map skill list…
0
votes
3 answers

Camel Bindy separator in extended ascii code

I am using Camel Bindy to process csv files that I recieve from a third party company. In their csv they are using a separator that is in the extended ascii table: "\u00a4" (code 164 in decimal). I have tried to set bindy up like…
Gilles
  • 357
  • 3
  • 20
0
votes
1 answer

Camel Bindy - split() not working

I am using Bindy with Camel to process a CSV file. The following code, get a list of beans unmarshalled from the csv is running fine. from("ftp://blabla.com:21/InPut?password=bla&move=done&sortBy=file:name") .unmarshal(bindy) .process(new…
Gilles
  • 357
  • 3
  • 20
0
votes
0 answers

How to put map bindy for length not fixed from certain position?

I have a long string which have two fields with certain length and another field length is not known. So how to map bindy fixed length in this case? I have a string like this: String info ="samulDavidThis is my story"; and my object is like this…
sudar
  • 1,446
  • 2
  • 14
  • 26
0
votes
1 answer

What is the Camel endpoint for marshalling using bindy dataformat?

I have a requirement to dynamically create camel-bindy endpoint for marshalling the input. Below is the sample code:
Raghavan
  • 21
  • 6