camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmoulliard <cmoulli...@gmail.com>
Subject Re: Bindy CSV not Marshaling
Date Fri, 11 Jun 2010 15:01:54 GMT

I have committed a fix on camel

You can test it using the camel-2.4-SNASPHOT

and you will have now an error :

@Section and/or @KeyValuePairDataField have not been defined !

KR,

Charles


Nick Heudecker wrote:
> 
> Thanks for the response.  There appear to be two bugs with Bindy 2.3.0.
> First, BindyAbstractFactory#generateKey() creates an invalid number if you
> don't define a @Section annotation.  You'll get a key like 'null000',
> resulting in a NumberFormatException.
> 
> Next, Bindy doesn't support Booleans or booleans.
> 
> 
> 
> On Sun, May 30, 2010 at 1:57 AM, Claus Ibsen <claus.ibsen@gmail.com>
> wrote:
> 
>> On Sun, May 30, 2010 at 5:30 AM, Nick Heudecker <nheudecker@gmail.com>
>> wrote:
>> > Are there known issues with Bindy and marshaling POJOs to CSV?  I
>> followed
>> > the example and my objects aren't getting past the marshal(...) step
>> with
>> > data.  I'm getting a zero-length byte[] in the exchange after the
>> > marshal(...) step.  What am I missing?
>> >
>>
>> Hi
>>
>> You may have to add more details. What Camel version. What does your
>> POJO looks like with the annotations.
>> Can you see an exception in the logs etc.
>>
>> At first I suggest to take a look at the unit tests of camel-bindy or
>> chapter 3 in the Camel in Action book which contains a Bindy example.
>> The source code for the book is free so you can actually find the
>> source code for the example there.
>>
>>
>> --
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Author of Camel in Action: http://www.manning.com/ibsen/
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>>
> 
> 


-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://old.nabble.com/Bindy-CSV-not-Marshaling-tp28719942p28856371.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message