You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/01/18 07:09:42 UTC

[jira] Created: (CAMEL-3550) Fail starting Camel if AnnotationTypeConverterLoader could not load any type converters

Fail starting Camel if AnnotationTypeConverterLoader could not load any type converters
---------------------------------------------------------------------------------------

                 Key: CAMEL-3550
                 URL: https://issues.apache.org/jira/browse/CAMEL-3550
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.5.0
            Reporter: Claus Ibsen
             Fix For: 2.7.0


When using Camel the type converters is loaded on the classpath using {{AnnotationTypeConverterLoader}}. We should let it thrown an exception if it could not find any type converters as it would cause Camel to startup with a very few type converter. This causes problems for end users when the cannot easily convert from XML-String, File-String etc.

This can happen in runtimes such as OSGi, JBoss, or other containers where classloading can play tricks.



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


[jira] Resolved: (CAMEL-3550) Fail starting Camel if AnnotationTypeConverterLoader could not load any type converters

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

Claus Ibsen resolved CAMEL-3550.
--------------------------------

    Resolution: Fixed

trunk: 1060291.

> Fail starting Camel if AnnotationTypeConverterLoader could not load any type converters
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3550
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3550
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.6.0
>
>
> When using Camel the type converters is loaded on the classpath using {{AnnotationTypeConverterLoader}}. We should let it thrown an exception if it could not find any type converters as it would cause Camel to startup with a very few type converter. This causes problems for end users when the cannot easily convert from XML-String, File-String etc.
> This can happen in runtimes such as OSGi, JBoss, or other containers where classloading can play tricks.

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


[jira] Commented: (CAMEL-3550) Fail starting Camel if AnnotationTypeConverterLoader could not load any type converters

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

Claus Ibsen commented on CAMEL-3550:
------------------------------------

See nabble
http://camel.465427.n5.nabble.com/HEADS-UP-Camel-will-now-fail-on-startup-if-annotation-type-converter-could-not-find-any-converters-td3345966.html

> Fail starting Camel if AnnotationTypeConverterLoader could not load any type converters
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3550
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3550
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.6.0
>
>
> When using Camel the type converters is loaded on the classpath using {{AnnotationTypeConverterLoader}}. We should let it thrown an exception if it could not find any type converters as it would cause Camel to startup with a very few type converter. This causes problems for end users when the cannot easily convert from XML-String, File-String etc.
> This can happen in runtimes such as OSGi, JBoss, or other containers where classloading can play tricks.

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


[jira] Assigned: (CAMEL-3550) Fail starting Camel if AnnotationTypeConverterLoader could not load any type converters

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

Claus Ibsen reassigned CAMEL-3550:
----------------------------------

    Assignee: Claus Ibsen

> Fail starting Camel if AnnotationTypeConverterLoader could not load any type converters
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3550
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3550
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.7.0
>
>
> When using Camel the type converters is loaded on the classpath using {{AnnotationTypeConverterLoader}}. We should let it thrown an exception if it could not find any type converters as it would cause Camel to startup with a very few type converter. This causes problems for end users when the cannot easily convert from XML-String, File-String etc.
> This can happen in runtimes such as OSGi, JBoss, or other containers where classloading can play tricks.

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


[jira] Updated: (CAMEL-3550) Fail starting Camel if AnnotationTypeConverterLoader could not load any type converters

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

Claus Ibsen updated CAMEL-3550:
-------------------------------

    Fix Version/s:     (was: 2.7.0)
                   2.6.0

Lets target this for 2.6.

We have seen to many end users in trouble due type converters couldn't load in their funky runtime container.

> Fail starting Camel if AnnotationTypeConverterLoader could not load any type converters
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3550
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3550
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.6.0
>
>
> When using Camel the type converters is loaded on the classpath using {{AnnotationTypeConverterLoader}}. We should let it thrown an exception if it could not find any type converters as it would cause Camel to startup with a very few type converter. This causes problems for end users when the cannot easily convert from XML-String, File-String etc.
> This can happen in runtimes such as OSGi, JBoss, or other containers where classloading can play tricks.

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