No that is not possible. There is a JIRA ticket to improve this in the future. Its not an easy change.
On Wed, Dec 16, 2015 at 5:38 PM, mtkilbay <a...@optonline.net> wrote: > My question may not have been clear enough so let me ask a specific question: > > Does anyone know whether i can use the EndpointRepository to add an endpoint > with a reference name, e.g., "kafkatopic" that i can then refer to in my xml > route like below: > <from ref="kafkatopic" ...> > > Thanks. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Create-endpoints-in-java-to-use-in-xml-routes-tp5775092p5775183.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2