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 2021/03/18 08:53:00 UTC

[jira] [Assigned] (CAMEL-16169) camel-core - context.addComponent(name, instance) should auto start if needed

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

Claus Ibsen reassigned CAMEL-16169:
-----------------------------------

    Assignee: Claus Ibsen

> camel-core - context.addComponent(name, instance) should auto start if needed
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-16169
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16169
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.9.0
>
>
> If you use getComponent then camel will create and auto start the component if needed. But if you use addComponent(name, instance) with an existing instance you have created manually then its not auto started.
> We should likely make this consistent with getComponent.
> Jeremy had a glitch with salesforce with out own test.
> https://github.com/apache/camel/blob/03ec304bd09cc83adb92bffe2d1339a5dac411d1/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/AbstractSalesforceTestBase.java#L47-L67
> https://camel.zulipchat.com/#narrow/stream/257298-camel/topic/Problem.20with.20nightlies



--
This message was sent by Atlassian Jira
(v8.3.4#803005)