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

RouteIdFactory - That can assign route ids using derived values from uris

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.19.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When using routes that uses direct/seda etc as route inputs, then you may want to use their name as the route id, eg

      direct:foo -> foo
      seda:bar -> bar
      jms:orders -> orders

      Instead of having route1, route2 as auto assigned names.

      There could be a NodeIdFactory that assign such names for route's. For example it can use the context-path of the route url as the name.

        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: