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

camel-spring - Should not list uris as spring bean ids from Camel routes

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Component/s: camel-spring
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Its an old and unused feature of Camel that will register endpoint in spring from routes from the <from> and <to> if they have an id attribute assigned.

      Those id's was not as much intended for that, as you can have endpoints in other places in routes, such as <wireTap> etc.

      Users should use <endpoint id="xxx"> to assign id's to endpoint in case they want to refer to those from Spring, such as via dependency injection.

      This functionality is also only in camel-spring and not in camel-blueprint, so it only adds to confusion if the XML DSL do not behave as much similar as possible.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: