GitHub user garyhodgson opened a pull request:
https://github.com/apache/camel/pull/1742
CAMEL-11382 - Creating IgniteComponent from Ignite Instance throws
IllegalStateException
Creating an IgniteComponent from configuration works fine, but when I try
and create one from an existing Ignite instance it throws an
IllegalStateException when starting the component: "No configuration resource
or IgniteConfiguration was provided to the Ignite component."
Looking at the code it appears the lifecycleMode is ignored as it is only
set to COMPONENT_MANAGED and cannot be altered outside of the class.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/garyhodgson/camel CAMEL-11382
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1742.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 #1742
----
commit b99df4512b5403ff17f2250927b69f87a9b6619b
Author: Gary Hodgson <[email protected]>
Date: 2017-06-06T21:43:47Z
CAMEL-11382 - Creating IgniteComponent from Ignite Instance throws
IllegalStateException
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---