[
https://issues.apache.org/jira/browse/CAMEL-19946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen reassigned CAMEL-19946:
-----------------------------------
Assignee: Claus Ibsen
> camel-core-model - Add <endpoint> to XML and YAML DSL
> -----------------------------------------------------
>
> Key: CAMEL-19946
> URL: https://issues.apache.org/jira/browse/CAMEL-19946
> Project: Camel
> Issue Type: New Feature
> Components: came-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.x
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)