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

Make it possible in <camelContext/> to refer to routes outside the context, eg located in other Spring XML files

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • camel-spring
    • None

    Description

      When you have many routes, it would be nice to use other Spring XML files to define routes and have a <camelContext/> being able to refer to those routes.

      <camelContext>
         <route ref="myCommonRoute"/>
         <route ref="myCoolRoute"/>
      </camelContext>
      

      Maybe the <route ref/> cannot easily be used as its a real route tag. So we may have to use another tag name such as routeRef or something.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: