[
https://issues.apache.org/jira/browse/CAMEL-9650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15170939#comment-15170939
]
Claus Ibsen commented on CAMEL-9650:
------------------------------------
Can you maybe build a sample application using spring java config? It would be
nice to have such an example in our examples catalog
https://github.com/apache/camel/tree/master/examples
That will also make it easier for us to take a look at and use for adding
support for contextScan.
> <contextScan/> equivalent in Spring JavaConfig
> ----------------------------------------------
>
> Key: CAMEL-9650
> URL: https://issues.apache.org/jira/browse/CAMEL-9650
> Project: Camel
> Issue Type: New Feature
> Components: camel-spring
> Affects Versions: 2.16.1
> Environment: Spring 4.2 (without Spring Boot).
> Reporter: Marcin Zajaczkowski
> Priority: Minor
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)