camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-657) CsvDataFormat.marshal never uses custom CSVConfig
Date Wed, 02 Jul 2008 19:10:00 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-657.
-------------------------------

    Fix Version/s: 1.4.0
       Resolution: Fixed

Bart, thanks alot for the bug report. It should be fixed now using:
{code}
CSVConfig conf = getConfig();
{code}
that will use the config from the setter if provided.

> CsvDataFormat.marshal never uses custom CSVConfig
> -------------------------------------------------
>
>                 Key: CAMEL-657
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-657
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: not relevant
>            Reporter: Bart Frackiewicz
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> Affected class: org.apache.camel.dataformat.csv.CsvDataFormat 
> Method "marshal" has a strange behaviour. The CSVConfig for the CSVWriter can not be
set via setConfig, because "marshal" has this line:
> {code}
> CSVConfig conf = createConfig();
> {code}
> Therefore you can not use your own CSVConfig to adjust marshalling. 
> Fix proposal:
> - remove method createConfig
> - see unmarshaling with corresponding getter/setter

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message