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

<contextScan/> equivalent in Spring JavaConfig

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.16.1
    • Fix Version/s: 2.18.0
    • Component/s: camel-spring
    • Labels:
      None
    • Environment:

      Spring 4.2 (without Spring Boot).

    • Estimated Complexity:
      Unknown

      Description

      There could be an equivalent to <contextScan/> from XML configuration in JavaConfig to automatically find routes created as Spring beans using `RouteBuilder` (in non Spring Boot applications).
      Currently they need to be added manually with `camelContext.addRoute(...)`.

      More details:
      https://mail-archives.apache.org/mod_mbox/camel-users/201602.mbox/%3C56C90F42.5000600%40wp.pl%3E

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              szpak Marcin Zajaczkowski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: