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/09/17 15:02:00 UTC
[jira] [Created] (CAMEL-16983) camel-spring-main - Add option to
allow multiple camelContext when migrating from legacy Spring XML files
Claus Ibsen created CAMEL-16983:
-----------------------------------
Summary: camel-spring-main - Add option to allow multiple camelContext when migrating from legacy Spring XML files
Key: CAMEL-16983
URL: https://issues.apache.org/jira/browse/CAMEL-16983
Project: Camel
Issue Type: New Feature
Components: camel-spring
Reporter: Claus Ibsen
Fix For: 3.x
There are ActiveMQ users with embedded Camel in XML files that may have N+ <camelContext> today.
They may want a simple main JAR to keep running this as-is.
You would need to "hack" this today
https://gist.github.com/davsclaus/e0ac176a778e671908566bbae2d74a11
So lets make an option to allow multiple contexts, as this would only be for camel-spring-main. Not spring boot users where 1 is only allowed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)