You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/04/26 10:52:00 UTC

[jira] [Updated] (CAMEL-13460) camel3 - DefaultEndpoint - Should be singleton by default

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

Claus Ibsen updated CAMEL-13460:
--------------------------------
    Estimated Complexity: Novice  (was: Unknown)

> camel3 - DefaultEndpoint - Should be singleton by default
> ---------------------------------------------------------
>
>                 Key: CAMEL-13460
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13460
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.0.0, 3.0.0-M3
>
>
> We should
> {code}
>     @Override
>     public boolean isSingleton() {
>         // lets be singleton by default as otherwise end-users may mistakenly write components
>         // which are not singleton. Only in very rare situations would you need to be non-singletons.
>         return true;
>     }
> {code}
> in DefaultEndpoint, and then remove it from all the components that are also singleton. I think its possible only camel-ftp that may not be.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)