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

camel-core-model - Add <endpoint> to XML and YAML DSL

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 4.x
    • came-core
    • None
    • Unknown

    Description

      In the classic XML DSL we have

      <endpoint id="result1Queue" uri="jms:queue:result1"/>
      <endpoint id="result2Queue" uri="jms:queue:result2"/>

      <endpoint id="basicInQueue" uri="jms:queue:basicInQueue"/>
      <endpoint id="basicInTopic" uri="jms:topic:basicInTopic"/>

      Which you can then refer to in routes

      <from uri="ref:basicInQueue"/>

      This allows to define endpoints in one place (and they can have many options) and then refer to them in your routes for reuse and also to keep the routes smaller.

      We should consider adding this to the model for XML and YAML DSL.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: