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

Claus Ibsen reassigned CAMEL-13460:
-----------------------------------

    Assignee: Claus Ibsen

> 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
>            Assignee: 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)

Reply via email to