Claus,
Thank you for the prompt response. I have some improvement as the results
are now ordered; however, I'm getting an additional comma in the values:
Order Number,First Name,Last Name
1003,Jane,,Smith
1004,Larry,,Horse
1005,Michael,,Tester
I put a wiretap prior to marshalling and have the following:
Exchange[ExchangePattern: InOnly, BodyType: java.util.ArrayList, Body:
[{orderNumber=Order Number, firstName=First Name, lastName=Last Name},
{orderNumber=1003, firstName=Jane, lastname=Smith}, {orderNumber=1004,
firstName=Larry, lastname=Horse}, {orderNumber=1005, firstName=Michael,
lastname=Tester}]]
I'll try to look into the code for how this is being marshalled, but again,
any help would be appreciated.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-CSV-Component-Not-Outputting-Headers-Correctly-tp5761848p5761925.html
Sent from the Camel - Users mailing list archive at Nabble.com.