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.