Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7361

would be nice if org.apache.camel.spring.Main could take a system property or CLI option to package scan classes too

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.13.1, 2.14.0
    • tooling
    • None
    • Unknown

    Description

      Imagine you've some other beans you wanna initialise too in addition to a camel XML. I tried adding a few spring XML files in META-INF/spring/* but then I got an error if one of the spring XML files didn't have camel inside.

      So it'd be nice to either allow lots of spring XMLs to be used (and not all of them need camel); or allow some packages to be scanned for @Component / @Service annotations so that we can configure other beans in jars which are not necessarily camel related (e.g. to create some mbeans for monitoring/logging).

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            jstrachan James Strachan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: