Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.10.1
-
Unknown
Description
Camel Endpoint, if configured outside camelContext element in Spring configuration, ignores camelContextId property.
Steps to reproduce: Configure two contexts in spring configuration. Then in the same config file configure two endpoints outside camelContext, but with camelContextId specified. Both endpoints will be created pointing to the same (first) camel context, despite being configured to different contexts. Attempting to use them by reference results in failure, as endpoint camelContext doesn't match the expected one.