camel-issues 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-10135) Bean creation exception swallowed
Date Fri, 15 Jul 2016 13:43:20 GMT

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

Claus Ibsen resolved CAMEL-10135.
---------------------------------
    Resolution: Won't Fix
      Assignee: Claus Ibsen

The bean introspection logic is already complicated. 

Calling a bean which has no methods is not normal.

> Bean creation exception swallowed
> ---------------------------------
>
>                 Key: CAMEL-10135
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10135
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.15.1
>         Environment: Any
>            Reporter: Geert Schuring
>            Assignee: Claus Ibsen
>            Priority: Minor
>         Attachments: FilterTest.java
>
>
> When a Route is referring to a Java Bean by class type while that class has no default
constructor, Camel should throw an exception indicating that creation of the bean failed.
Instead it ignores this problem resulting in an exchange encountering a null pointer exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message