Hi Claus, It was allowed override it in Camel 2.x. was there a Camel Jira for it?
Because the users using Camel 2 already created Routes with routeId() inside anywhere. Thanks. ________________________________ From: Claus Ibsen <claus.ib...@gmail.com> Sent: Monday, November 1, 2021 4:37 PM To: users@camel.apache.org <users@camel.apache.org> Subject: Re: You can only set routeId one time per route Warning! External email. Exercise caution when opening attachments or clicking any links. Yes a route should not change its id On Mon, Nov 1, 2021 at 8:57 AM Xilai Dai <xl...@talend.com> wrote: > > Hi there, > > What's the good reason in Camel 3 the routeId() can be set only once? > > public RouteDefinition routeId(String id) { > if (hasCustomIdAssigned()) { > throw new IllegalArgumentException("You can only set routeId one > time per route."); > } > setId(id); > return this; > } > > is there a Camel Jira for it? > > Thanks! > > As a recipient of an email from Talend, your contact personal data will be on > our systems. Please see our privacy notice (updated August 2020) at Talend, > Inc. <https://www.talend.com/contacts-privacy-policy/> > > -- Claus Ibsen ----------------- https://urldefense.com/v3/__http://davsclaus.com__;!!CiXD_PY!C6T30Kv7TOpwCeCMZtbpZUUp-zp25uxig22TmcmuoiJMoor5JxOKO5wZ3H4c$ @davsclaus Camel in Action 2: https://urldefense.com/v3/__https://www.manning.com/ibsen2__;!!CiXD_PY!C6T30Kv7TOpwCeCMZtbpZUUp-zp25uxig22TmcmuoiJMoor5JxOKO6QhtIzg$ As a recipient of an email from Talend, your contact personal data will be on our systems. Please see our privacy notice (updated August 2020) at Talend, Inc. <https://www.talend.com/contacts-privacy-policy/>