nevermind
/M
--- Original Message ---
On Wednesday, April 27th, 2022 at 13:08, Mikael Andersson Wigander
wrote:
> Hi
>
> How can one make Bindy understand to ignore a file with empty lines?
> I can't find any options for it.
>
> In empty I mean a csv file with
Hi
How can one make Bindy understand to ignore a file with empty lines?
I can't find any options for it.
In empty I mean a csv file with two or more CR/LF at the end of the file…
A,B,C,D
E,F,G,H
/M
I am using camel-bindy version 3.8.0 and I'm hitting a null pointer exception
because bindy selects the key-value pair format and ignores the annotated
format type and XML-defined format when the model class is annotated with the
Spring @Value annotation or if the XML bean definition contains
Hi
In Bindy when marshalling from object to CSV you can state that it should use
“quoting” by two options: quote and quoting.
But there’s a third in the factory: quotingEscaped
How should this be interpreted in the context of the other two options?
Also in the documentation there’s
h for Camel 3.x.
>
>
> On Tue, May 5, 2020 at 10:11 AM Alberto wrote:
> > Hello,
> >
> > I need to handle a ZonedDateTime attribute in a pojo with bindy dataformat.
> > I
> > found that ZonedDateTime is not handled wheras LocalDateTime is.
> > Is there any part
Hi
I am not sure if there is a reason not. You are welcome to create a
JIRA and work on a PR to add this to Camel.
Mind it has to be on master branch for Camel 3.x.
On Tue, May 5, 2020 at 10:11 AM Alberto wrote:
>
> Hello,
>
> I need to handle a ZonedDateTime attribute in a poj
Hello,
I need to handle a ZonedDateTime attribute in a pojo with bindy dataformat. I
found that ZonedDateTime is not handled wheras LocalDateTime is.
Is there any particular reason for that?
I solved writing a specific Format and using a @BindyConverter annotation but in
that way I'm unable
at need features,
> the old logic in the JDK
> doesn't support. The lib is very common (e.g. LibreOffice uses it) and
> AFAIK the de-facto standard
> for working with elaborate Unicode.
>
> -- Mik
>
>
> Gesendet: Freitag, 24. Januar 2020 um 19:15 Uhr
> Von: "Alex De
. Januar 2020 um 19:15 Uhr
Von: "Alex Dettinger"
An: users@camel.apache.org
Betreff: Re: Re: Bindy plus Unicode
Hi Michael,
Good to know that you sorted it out :) The compatibility between the
ICU4L and Apache License is not straightforward, we would need to look
closer.
Still creati
ded? Only Camel 3.x or will it be backported to 2.2?
>
> -- Mik
>
> --
> Gesendet: Freitag, 24. Januar 2020 um 11:43 Uhr
> Von: "Alex Dettinger"
> An: users@camel.apache.org
> Betreff: Re: Bindy plus Unicode
> Hi Michael,
>
> I was just looking at this
--
Gesendet: Freitag, 24. Januar 2020 um 11:43 Uhr
Von: "Alex Dettinger"
An: users@camel.apache.org
Betreff: Re: Bindy plus Unicode
Hi Michael,
I was just looking at this component for another purpose and it looks
to me that fixed length tokenzat
Hi Michael,
I was just looking at this component for another purpose and it looks
to me that fixed length tokenzation occurs here:
https://github.com/apache/camel/blob/master/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyFixedLengthFactory.java#L212..L216
So
Hi,
I’m having problems with the bindy component and wonder if there is something I
missed. Maybe one can help me addressing it. I cannot believe, that I’m the
first to hit this problem.
I need to port an EAI application built using bindy, that reads a fixed type
file(*) converts
wrote:
> >>>
> >>> Hi
> >>>
> >>> Can you maybe provide a small example or sample code what you are
> looking for?
> >>>
> >>> On Wed, Aug 28, 2019 at 7:50 AM Mikael Andersson Wigander
> >>> wrote:
> >>>
rovide a small example or sample code what you are looking
>>> for?
>>>
>>> On Wed, Aug 28, 2019 at 7:50 AM Mikael Andersson Wigander
>>> wrote:
>>>>
>>>> Used for creating CSV files with a hierarchy of objects using @Link
>>>
ndersson Wigander
> > wrote:
> >>
> >> Used for creating CSV files with a hierarchy of objects using @Link
> >> annotation
> >>
> >> I find it odd NOT having the option to name the column using annotation
> >> since you have control
annotation
>>
>> I find it odd NOT having the option to name the column using annotation
>> since you have control over other attributes…
>>
>> M
>>
>>> On 27 Aug 2019, at 18:52, George Daswani wrote:
>>>
>>> Are you
column using annotation since
> you have control over other attributes…
>
> M
>
> > On 27 Aug 2019, at 18:52, George Daswani wrote:
> >
> > Are you using it to parse CSV files? or produce CSV files?
> >
> > I suggest you use Camel-CSV instead. BIndy
CSV files? or produce CSV files?
>
> I suggest you use Camel-CSV instead. BIndy CSV has a couple of problems
> with the first being it doesn't properly support RFC-4180 CSV files, and the
> second being it uses reflection to set properties..
>
> On Tue, Aug 27, 2019 at 12:17 A
Are you using it to parse CSV files? or produce CSV files?
I suggest you use Camel-CSV instead. BIndy CSV has a couple of problems with
the first being it doesn't properly support RFC-4180 CSV files, and the second
being it uses reflection to set properties..
On Tue, Aug 27, 2019 at 12:17
Good morning.
Using Bindy dataformat, in the documentation nothing states how to set column
name but some example has the name attribute given as if possible to set the
name of the column header to anything other than the field name. This
appartently doesn’t work so question
but split them up into 2 methods, as maybe mutating the test for the
2nd test cause a side-effect or something.
On Tue, Jul 24, 2018 at 9:56 AM, Christian Scharmach wrote:
> Hello!
>
>
>
> I am using Camel-Bindy 2.22.0 and was trying to mar
-effect or something.
On Tue, Jul 24, 2018 at 9:56 AM, Christian Scharmach wrote:
> Hello!
>
>
>
> I am using Camel-Bindy 2.22.0 and was trying to marshal a CSV file with
> following format:
>
>
>
>
>
> HeaderColumn:headerColumn:headerColumn
>
> BodyColumn;B
Hello!
I am using Camel-Bindy 2.22.0 and was trying to marshal a CSV file with
following format:
HeaderColumn:headerColumn:headerColumn
BodyColumn;BodyColumn;BodyColumn;BodyColumn;BodyColumn
BodyColumn;BodyColumn;BodyColumn;BodyColumn;BodyColumn
FooterColumn;FooterColumn
[etc
Hi,
I think the problem is an invalid instruction within you Import-package of the
your Felix-plugin.
...
org.apache.camel.camel-bindy,
...
As far as I know now special import instruction is needed (please correct me if
I'm wrong ;) ).
In our experience with using camel-bindy
Im trying to use camel-bindy in an OSGi project.
However I get the following error:
Failed to execute goal
org.apache.karaf.tooling:karaf-maven-plugin:4.0.8:assembly
(karaf-assembly) on project karaf2-cxf-rest: Unable to build assembly:
Unable to resolve root: missing requirement [root
s than 2001 chars.
>
> Is it cuttently possible to parse such data with Bindy?
>
> Adie
>
d field has less than 2000 characters it is
> not padded. Therefore total length can be less than 2001 chars.
>
> Is it cuttently possible to parse such data with Bindy?
>
> Adie
>
2 length 2000, but for performance
reasons, if second field has less than 2000 characters it is not padded.
Therefore total length can be less than 2001 chars.
Is it cuttently possible to parse such data with Bindy?
Adie
Never mind. Problem solved.
Thanks,
Matt
-Original Message-
From: Goodwin, Matthew
Sent: Sunday, August 27, 2017 12:01 AM
To: users@camel.apache.org
Subject: Bindy Data Format Unmarshalling question
Hi Camel Community,
I am using Bindy to format a file that has a header, footer
Hi Camel Community,
I am using Bindy to format a file that has a header, footer, and one to many
detail records. Things are working fine but it looks like within the
BindyAbstractDataFormat class in the extractUnmarshalResult method it checks to
see if there is one or multiple records
//camel.apache.org/contributing
>
> >
> >
> > --
> > View this message in context: http://camel.465427.n5.nabble.
> com/Bindy-DefaultValue-is-not-working-Need-help-tp5795402p5800037.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
>
n the different factories.
>
You can create a JIRA and submit a fix via github PR
http://camel.apache.org/contributing
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Bindy-DefaultValue-is-not-working-Need-help-tp5795402p5800037.html
> Sent from th
I noticed this issue was only resolved for the CSV Factory. How would I go
about submitting a similar bug for the FixedLength factory? It's probably a
bad idea to have inconsistencies between the different factories.
--
View this message in context:
http://camel.465427.n5.nabble.com/Bindy
Thank you very much!
--
View this message in context:
http://camel.465427.n5.nabble.com/Bindy-DefaultValue-is-not-working-Need-help-tp5795402p5795437.html
Sent from the Camel - Users mailing list archive at Nabble.com.
CSV to object. For marshalling from object to CSV, unbind
method is used in which defaultvalue is not set.
Let me know if my understanding is correct.
--
View this message in context:
http://camel.465427.n5.nabble.com/Bindy-DefaultValue-is-not-working-Need-help-tp5795402p5795409.html
Sent from
ttp://camel.465427.n5.nabble.com/Bindy-DefaultValue-is-not-working-Need-help-tp5795402p5795409.html
Sent from the Camel - Users mailing list archive at Nabble.com.
2.17.3
org.springframework
spring-context
4.2.5.RELEASE
org.apache.camel
camel-bindy
Hi, I am using camel-bindy to put default value for some fields. But it is
not populating the default values in the final csv document.
camel-context:
In this class:
@DataField(pos = 2, defaultValue
oday. But for some new feature the producer will
> introduce new fields at the end of the record therefore increase the length.
> So I need my application to be able to handle both lengths as it comes so
> that I don't have to release my code together with the producer. Is this
> someth
that I don't have to release my code together with the producer. Is this
something easily achievable in Bindy? Or I need to write my own formatter as
well?
Thanks.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Bindy-Mixed-fixed-and-variable-length-processing
im on both sides also the documentation on this is
not updated.
thanks for all good work
/erik
--
View this message in context:
http://camel.465427.n5.nabble.com/bindy-trim-fixedlength-tp5793047.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I am currently trying to upgrade from camel-bindy-2.11.0 to
camel-bindy-2.17.0 and am running into a problem when trying to apply a
model consisting of multiple classes to a data set resulting in a single
text file.
I had a number of classes in a package (com.sample.package) that I could use
Hi
Yeah sounds like an issue, you are welcome to log a JIRA and provide a
patch or better github PR
http://camel.apache.org/contributing
On Tue, Dec 20, 2016 at 5:01 PM, dabby11 <marco.dabb...@gmail.com> wrote:
> Hi,
>
> I'm developing a route with Camel 2.16.1 that uses B
Hi,
I'm developing a route with Camel 2.16.1 that uses Bindy to process a file
with fixed length records. The file consists of a header and many rows.
I'm unmarshalling the stream with the following data format:
BindyFixedLengthDataFormat bindy = new
BindyFixedLengthDataFormat
Hi,
I'm developing a route with Camel 2.16.1 that uses Bindy to process a file
with fixed length records. The file consists of a header and many rows.
I'm unmarshalling the stream with the following data format:
BindyFixedLengthDataFormat bindy = new
BindyFixedLengthDataFormat
Hi
I have the following message I'd like to unmarshal into a POJO with Bindy :
KeyABC=value1:KeyDEF=value2:
It looks like the key (i.e. tag) needs to be an int. Is there any way with
Bindy to handle this kind of format?
Thanks
--
View this message in context:
http://camel.465427.n5
Or even better contribute yourself and provide a fix in the bindy.adoc
as a github PR
https://github.com/apache/camel/blob/master/components/camel-bindy/src/main/docs/bindy-dataformat.adoc
How to contribute
http://camel.apache.org/contributing
The old wiki docs are going away. However how
Hi,
Can you open a ticket please to report such enhancement ?
Regards,
On Wed, Sep 28, 2016 at 7:29 PM, Knut-Håvard Aksnes <khaks...@gmail.com>
wrote:
> Between 2.15 and 2.16 there were made a couple of backwards incompatible
> changes in Bindy.
> The first: The change in
Between 2.15 and 2.16 there were made a couple of backwards incompatible
changes in Bindy.
The first: The change in the constructor of CsvDataformat is well
documented.
The second: The change in return type of unmarshal from List> to List is not documented in
http://camel.apache.org/bindy.h
ustubhkane <kaustubh.k...@tcs.com>:
> Hi,
>
> I have a fixed length Binary data in Bit pack format.
>
> Can I use the Bindy DataFormat to unmarshal the binary data?
>
> I looked at the details of the Bindy DataFormat. It provides the ability
> where using the Annotations
Hi,
I have a fixed length Binary data in Bit pack format.
Can I use the Bindy DataFormat to unmarshal the binary data?
I looked at the details of the Bindy DataFormat. It provides the ability
where using the Annotations the user can map the data model to POJO.
This way user has to only
\n as the number of object in the list.
How to create with bindy a file like I've desribed above?
Thanks
Mirko
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Bindy-marshal-fixed-file-with-heade-footer-and-section-tp5784073.html
Sent from the Camel - Users mailing list archive at Nabble.com.
inged to the column 2 binded attribute (sku), and the the actual
attribute binded to column 3 stays
null:VENDOR->SKU->STOCKnull->123->5Vendor1->166->10Produces this mapping:[{
vendor: "123",sku: "5",stock: null},{vendor: "Vendor1",sku:
&
.ROUTE_CONVERT_TO_CSV)
> .log("Received request for S3 upload")
> .marshal().bindy(BindyType.Csv, "com.domain")
> .setHeader(S3Constants.KEY,
>
> simple("${date:now:-MM-dd}"+&q
I dont have a test case, but below is the route where I pass a List of Map of
my model class.
from(Constants.ROUTE_CONVERT_TO_CSV)
.log("Received request for S3 upload")
.marshal().bindy(BindyType.Csv, &
; // try super first, just in vase
> Enumeration enumeration = super.getResources(loader,
> "com/domain/");
> if (!enumeration.hasMoreElements()) {
>
> enumeration = loader.getResources("com/domain/");
> }
>
> return enumeration;
>
return enumeration;
}
}
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-bindy-not-working-in-Spring-boot-tp5780995p5781012.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi There,
I am using Bindy csv format to marshal to csv file. Everything works fine if
i run from ecplise, but fails with the below exception if ran as a spring
boot jar from command line. I tried creating custom
PackageScanClassResolver extending DefaultPackageScanClassResolver, but no
luck. I
Hi,
is there a way to intercept parsing exception in camel bindy?
I have to continue the processing of the remaining fields/records and,
for example, put an empty value in the field where the value is not
correctly parsed.
Regards
Alberto
Hi all!
I have a situation where I use Camel-Bindy to create fixed-length records,
which are to be written to/read from a legacy (and of course, unmodifiable)
system.
The specification of the records asks all dates to be formatted with a
ddMM pattern, except for "empty" date fie
Hello,
Is it possible to combine fixedlength record with csvrecord in bindy using
two different models i.e. two different classes?
For example say you have the following input data:
09N2010093009384820100930093848AP|AOMAIN|AB11|AC|
The first part "09N20100930093848201
= exchange.getIn().getBody(List.class);
for(Order order : orders)
{
// simply reading the order object and doing processing
}
Recently, we moved to Java DSL and the code looks as below and below is how
we have our route written.
DataFormat bindy = new BindyCsvDataFormat("org.examples.camel.model&quo
I have a flat file, in which each line needs to be captured and unmarshalled
into a `POJO`. I am using `Camel` and `Bindy` and utilizing the `Splitter
EIP`. For some reason i am not able to inspect the `POJO` (using a
`Processor`) after the unmarshalling completed. Any suggestions?
I am trying
: com.myapp.component.Order with value 1122.
Could somebody help me, if I'm missing any configuration?
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Bindy-bean-as-Parameter-in-Spring-Jms-Component-using-Consume-tp5769301.html
Sent from the Camel - Users mailing list archive
Hi
Ah yeah there is no type converter that supports bindy as a fallback.
So you would need to use the dataformat as David says.
Though it begs the question for pojo consuming if we should add some
annotation to add a conversion step so you can point to a data format
/ type converter (the latter
You need to define a dataformat step in your route:
https://camel.apache.org/data-format.html for bindy:
http://camel.apache.org/binding.html
alternatively you can bind the dataformat to the endpoint:
http://camel.apache.org/binding.html
2015-07-14 17:53 GMT+02:00 vivekrao001 vivekrao
giorgio.vespu...@gmail.com wrote:
Hi everybody :)
I'm wondering how Bindy is setting values from a CSV file to Java fields.
It looks that it's not using setter methods the POJO exposes.
Is there a way to intercept Bindy setter actions, so that an additional
behavior could be executed
wrote:
Hi everybody :)
I'm wondering how Bindy is setting values from a CSV file to Java fields.
It looks that it's not using setter methods the POJO exposes.
Is there a way to intercept Bindy setter actions, so that an additional
behavior could be executed?
I'm using Camel 2.14.3
Hi everybody :)
I'm wondering how Bindy is setting values from a CSV file to Java fields.
It looks that it's not using setter methods the POJO exposes.
Is there a way to intercept Bindy setter actions, so that an additional
behavior could be executed?
I'm using Camel 2.14.3.
Best regards
how Bindy is setting values from a CSV file to Java fields.
It looks that it's not using setter methods the POJO exposes.
Is there a way to intercept Bindy setter actions, so that an additional
behavior could be executed?
I'm using Camel 2.14.3.
Best regards and thank you.
--
Claus Ibsen
I've moved on by changing it to beanio.
thanks
Ravi.
--
View this message in context:
http://camel.465427.n5.nabble.com/Bindy-running-within-a-WAR-tp5765035p5766174.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi.
I am using Bindy in order to marshal a large set of data (in batches) to a
CSV file.
The problem that I am seeing is that Bindy does not seem to offer any
streaming solution. This means it is expecting a single message (with the
CSV content) to be loaded in memory in order to start writing
(BindyCsvDataFormat.java:137)
[camel-bindy-2.15.0.jar:2.15.0] at
org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:67)
[camel-core-2.15.0.jar:2.15.0] at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
[camel-core-2.15.0.jar
/artifactId
version4.1.5.RELEASE/version
/dependency
wildfly-camel-patch also contains 4.1.5.RELEASE.
thanks
Ravi.
--
View this message in context:
http://camel.465427.n5.nabble.com/Bindy-running-within-a-WAR-tp5765035p5765831.html
Sent from the Camel - Users
Hi Ravi,
Have you tried to use the camel bindy module instead of packaging all the
deps within the war file (
http://wildflyext.gitbooks.io/wildfly-camel/content/components/camel-bindy.html,
http://wildflyext.gitbooks.io/wildfly-camel/content/start/index.html) ?
Regards,
On Mon, Apr 13, 2015
I'm facing the similar issue with my war. I'm using wildfly 8.2.0 Camel
2.14.1. My route uses bindy to unmarshal csv to domain object. Junits are
working war deployed on tomcat also works.
I'm getting the following exception when i deploy the war on wildfly 8.2.0
BeltPackageScanClassResolver();
return resolver;
}
Am I missing something?
--
View this message in context:
http://camel.465427.n5.nabble.com/Bindy-running-within-a-WAR-tp5765035p5765077.html
Sent from the Camel - Users mailing list archive at Nabble.com.
BeltPackageScanClassResolver beltResolver() {
BeltPackageScanClassResolver resolver = new
BeltPackageScanClassResolver();
return resolver;
}
Am I missing something?
--
View this message in context:
http://camel.465427.n5.nabble.com/Bindy-running
Okay, thanks Claus.
--
View this message in context:
http://camel.465427.n5.nabble.com/Bindy-running-within-a-WAR-tp5765035p5765084.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I have a self executable Spring Boot (1.2.2) and Camel Boot (2.15.0)
application built as a WAR. My route makes use of Bindy to unmarshal CSV to
my object class. Everything work well when I run the code directly using
Maven (mvn spring-boot:run) or if I run using Eclipse. However if I
Hi
What web server do you use for the War? Is it jetty or tomcat or something else?
Yeah bindy unfortunately uses that annotation scanning on classpath.
There is a ticket to improve this for the future.
You can impement a custom yourself that can load in the WAR.
http://camel.apache.org
Hi,
I'm trying to use bindy on camel 2.14.1 with a WAR deploy on jboss-eap 6.3.3
this is my camel context:
camelContext xmlns=http://camel.apache.org/schema/spring;
propertyPlaceholder id=placeholder
location=classpath:file.properties/
route id=file-to-jpa
from
uri=file
Hi
You may need to use a 3rd party jboss classloader module.
See more details at
http://camel.apache.org/camel-jboss.html
On Wed, Mar 11, 2015 at 11:14 AM, Scisci ferioli.mi...@gmail.com wrote:
Hi,
I'm trying to use bindy on camel 2.14.1 with a WAR deploy on jboss-eap 6.3.3
this is my camel
=org.apacheextras.camel.jboss.JBossPackageScanClassResolver/
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-bindy-2-14-1-and-jboss-eap-6-3-3-tp5763997p5764003.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
It seems because bindy uses strict parsing by setting lenient = false
df.setLenient(false);
date = df.parse(string);
It should maybe not do that, and just use SimpleDataFormat parsing as
default out of the box.
On Fri, Feb 20, 2015 at 2:00 AM, kc525
Hi,
Can you provide an example that we could test as the date pattern used
seems good. So, we should have a look to the code to see why it failed for
you.
Regards,
On Fri, Feb 20, 2015 at 2:00 AM, kc525 kirankumar.chitt...@gmail.com
wrote:
I ran into an issue with Apache Camel Bindy data
I ran into an issue with Apache Camel Bindy data format for the Date field
parsing from a CSV file.
*Date in the CSV : 02/11/2015 03:34:49 PM.*
Format in the Bindy Class annotated as
*@DataField(pos = 8,pattern=MM/dd/ hh:mm:ss a)
private Date time;*
Getting below exception
.nabble.com/Camel-bindy-empty-file-cause-Exception-tp5762637.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
Yes you need to filter this outside bindy as it expects that there is data
On Thu, Feb 12, 2015 at 11:15 AM, kalber karlheinz.al...@swslt.com wrote:
Hi,
is there a way to avoid 'java.lang.IllegalArgumentException: No records have
been defined in the CSV'
when the input file is completly
The escape characters are still added into the Header Columns when
marshalling back the object.
e.g.
Separator = \\|
Output:
Header 1\|Header2\|...
Version:2.13.2
--
View this message in context:
http://camel.465427.n5.nabble.com/bindy-different-behavior-between-marshal-and-unmarshal
a multi-character separator in Bindy?
Thanks a lot in advance.
--
View this message in context:
http://camel.465427.n5.nabble.com/Bindy-using-a-multi-character-separator-for-marshalling-tp5759364.html
Sent from the Camel - Users mailing list archive at Nabble.com.
String to char.
char separator = ConverterUtils.getCharDelimiter(this.getSeparator());
Is it possible to use a multi-character separator in Bindy?
Thanks a lot in advance.
--
View this message in context:
http://camel.465427.n5.nabble.com/Bindy-using-a-multi-character-separator
if possible.
@Claus,
Thank you for your suggestions. I will test them.
-Ursprüngliche Nachricht-
Gesendet: Wednesday, 24 September 2014 um 19:18:06 Uhr
Von: Charles Moulliard ch0...@gmail.com
An: users@camel.apache.org
Betreff: Re: Why does Bindy prohibit empty files?
Hi,
We could certainly
Prolog: Camel Bindy will throw an IllegalArgumentException if the current
InputStream doesn't contain any data (see
https://fisheye6.atlassian.com/browse/camel-git/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/csv/BindyCsvDataFormat.java?hb=true
at line 174 and 200).
I
Hi,
We could certainly improve Bindy and implements what you suggest. Could you
please raise a ticket concerning your request ?
Until now, I suggest that you add a onException() to handle the exception
throws by Bindy when the data stream is empty
Regards,
On Wed, Sep 24, 2014 at 5:36 PM
, Charles Moulliard ch0...@gmail.com wrote:
Hi,
We could certainly improve Bindy and implements what you suggest. Could you
please raise a ticket concerning your request ?
Until now, I suggest that you add a onException() to handle the exception
throws by Bindy when the data stream is empty
Hi Tom,
As camel-2.14 is ready for the vote, you could perhaps make a test with the
Bindy modification to confirm ?
https://repository.apache.org/content/repositories/orgapachecamel-1012/org/apache/camel/apache-camel/2.14.0/
Regards,
On Wed, Aug 27, 2014 at 7:56 AM, Charles Moulliard ch0
camel-bindy is throwing an *java.text.ParseException * on failing to parse
date with format *dd-MMM- hh*
*The date field in the CsvRecord is:*
@DataField(pos = 1, required = true, pattern = dd-MMM- hh)
*Row from CSV file:*
10-Nov-2013 00,ARTHUR,2,CON ED NY CITY,332.8,90,90,,35
df.setLenient(false);
date = df.parse(string);
return date;
} else {
throw new FormatException(Date provided does not fit the
pattern defined);
}
}
On Fri, Aug 29, 2014 at 4:30 PM, sandp sandeepred...@gmail.com wrote:
camel-bindy
1 - 100 of 419 matches
Mail list logo