You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2007/11/25 13:12:26 UTC

[jira] Created: (CAMEL-244) CSV support via SuperCSV

CSV support via SuperCSV
------------------------

                 Key: CAMEL-244
                 URL: https://issues.apache.org/activemq/browse/CAMEL-244
             Project: Apache Camel
          Issue Type: New Feature
            Reporter: James Strachan
             Fix For: 1.3.0


See http://supercsv.sourceforge.net for details

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


[jira] Updated: (CAMEL-244) CSV support

Posted by "James Strachan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Strachan updated CAMEL-244:
---------------------------------

    Description: See http://supercsv.sourceforge.net or http://commons.apache.org/sandbox/csv/ for details of APIs  (was: See http://supercsv.sourceforge.net for details)
        Summary: CSV support  (was: CSV support via SuperCSV)

> CSV support
> -----------
>
>                 Key: CAMEL-244
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-244
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: James Strachan
>             Fix For: 1.3.0
>
>
> See http://supercsv.sourceforge.net or http://commons.apache.org/sandbox/csv/ for details of APIs

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


[jira] Resolved: (CAMEL-244) CSV support

Posted by "James Strachan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Strachan resolved CAMEL-244.
----------------------------------

    Resolution: Fixed

> CSV support
> -----------
>
>                 Key: CAMEL-244
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-244
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: James Strachan
>             Fix For: 1.3.0
>
>
> See http://supercsv.sourceforge.net or http://commons.apache.org/sandbox/csv/ for details of APIs

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


[jira] Commented: (CAMEL-244) CSV support

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40720 ] 

Claus Ibsen commented on CAMEL-244:
-----------------------------------

In the 2 CSVDataFormat classes should the OutputStream not be closed in a finally block to do propery house keeping in case of exceptions?
Or am I just being old school?

> CSV support
> -----------
>
>                 Key: CAMEL-244
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-244
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: James Strachan
>             Fix For: 1.3.0
>
>
> See http://supercsv.sourceforge.net or http://commons.apache.org/sandbox/csv/ for details of APIs

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


[jira] Commented: (CAMEL-244) CSV support

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40718 ] 

Claus Ibsen commented on CAMEL-244:
-----------------------------------

Damm this is fast. Just voted for it a few days ago.

However is this correct from the commit log? (JAXB format?)

+
+    /**
+     * Uses the JAXB data format
+     */
+    public T csv() {
+        return dataFormat(new CsvDataFormat());
     } 

> CSV support
> -----------
>
>                 Key: CAMEL-244
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-244
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: James Strachan
>             Fix For: 1.3.0
>
>
> See http://supercsv.sourceforge.net or http://commons.apache.org/sandbox/csv/ for details of APIs

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


[jira] Commented: (CAMEL-244) CSV support

Posted by "James Strachan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40717 ] 

James Strachan commented on CAMEL-244:
--------------------------------------

trunk now has support for the commons CSV API; though documentation is required

> CSV support
> -----------
>
>                 Key: CAMEL-244
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-244
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: James Strachan
>             Fix For: 1.3.0
>
>
> See http://supercsv.sourceforge.net or http://commons.apache.org/sandbox/csv/ for details of APIs

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


[jira] Commented: (CAMEL-244) CSV support

Posted by "James Strachan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40721 ] 

James Strachan commented on CAMEL-244:
--------------------------------------

Patches all applied Claus - thanks for the feedback!

> CSV support
> -----------
>
>                 Key: CAMEL-244
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-244
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: James Strachan
>             Fix For: 1.3.0
>
>
> See http://supercsv.sourceforge.net or http://commons.apache.org/sandbox/csv/ for details of APIs

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


[jira] Commented: (CAMEL-244) CSV support

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40719 ] 

Claus Ibsen commented on CAMEL-244:
-----------------------------------

Sorry for being picky but shouldn't the unit test using assertions instead of Log.debug ;)

In CsvRouteTest it outputs
 log.debug("Received: " + text); 

Wouldn't it be possible to assert that the received string is in CSV format?

> CSV support
> -----------
>
>                 Key: CAMEL-244
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-244
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: James Strachan
>             Fix For: 1.3.0
>
>
> See http://supercsv.sourceforge.net or http://commons.apache.org/sandbox/csv/ for details of APIs

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