You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/08/08 11:44:00 UTC

[jira] [Work logged] (CAMEL-13837) camel3 - FactoryFinder - Return null if not found instead of exception

     [ https://issues.apache.org/jira/browse/CAMEL-13837?focusedWorklogId=291199&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-291199 ]

ASF GitHub Bot logged work on CAMEL-13837:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Aug/19 11:43
            Start Date: 08/Aug/19 11:43
    Worklog Time Spent: 10m 
      Work Description: davsclaus commented on pull request #3089: CAMEL-13837: FactoryFinder API should avoid throwing exceptions for n…
URL: https://github.com/apache/camel/pull/3089
 
 
   …ot found resoucces/classes and use Optional API instead. This avoids many try .. catch ignore exceptions during startup of Camel also.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 291199)
            Time Spent: 10m
    Remaining Estimate: 0h

> camel3 - FactoryFinder - Return null if not found instead of exception
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-13837
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13837
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.0.0, 3.0.0.M5
>
>         Attachments: Screenshot 2019-08-08 at 11.08.01.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When starting Camel we attempt to find custom factories for SPI. But this means we end up throwing 40+ exceptions just for a basic Camel route. We can optimize this to use null as response for "no factory exists".



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)