[ https://issues.apache.org/activemq/browse/CAMEL-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53752#action_53752 ]
Claus Ibsen commented on CAMEL-1919: ------------------------------------ Yeah its for *including* routes that are defined as templates. E.g. the routes you _include_ are *not* actual routes that are started as well. But you can use it to define a shared template that you would like to include in your real routes. That shared template can have common configuration preset such as error handling, interceptors and whatnot. Its kinda like spring xml include. Does it make sense? > Include route builder as template for other routes to improve route reuse > ------------------------------------------------------------------------- > > Key: CAMEL-1919 > URL: https://issues.apache.org/activemq/browse/CAMEL-1919 > Project: Apache Camel > Issue Type: New Feature > Components: camel-core > Affects Versions: 1.6.1, 2.0-M3 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.1.0 > > Attachments: CAMEL-1919.patch > > > It should be possible to include another route builder as a kind of template > to improve route reuse. > The existing method {{addRoutes}} should either be change to support this > properly or we add a new method. > However it does looks as if we could just tailor addRoutes method. > What needs also is to expose this in the Spring XML as well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.