[
https://issues.apache.org/jira/browse/CAMEL-9307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998718#comment-14998718
]
ASF GitHub Bot commented on CAMEL-9307:
---------------------------------------
GitHub user astefanutti opened a pull request:
https://github.com/apache/camel/pull/675
CAMEL-9307: Remove unnecessary call to setCamelContext when adding a …
…component by name
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/astefanutti/camel CAMEL-9307
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/675.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #675
----
commit 1b046cb0083e44a7f765e2a84d7632694dff9ceb
Author: Antonin Stefanutti <[email protected]>
Date: 2015-11-10T15:09:57Z
CAMEL-9307: Remove unnecessary call to setCamelContext when adding a
component by name
----
> Remove unnecessary call to setCamelContext when adding a component by name
> --------------------------------------------------------------------------
>
> Key: CAMEL-9307
> URL: https://issues.apache.org/jira/browse/CAMEL-9307
> Project: Camel
> Issue Type: Task
> Reporter: Antonin Stefanutti
> Priority: Minor
>
> Quite often, the method {{Component.setCamelContext}} is called while adding
> a component to a Camel context while that is not necessary as it is done
> within the later call.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)