[ 
https://issues.apache.org/jira/browse/CAMEL-18771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramu updated CAMEL-18771:
-------------------------
    Description: 
When using a route template with hardcoded nodeIDs, then these IDs are used 
as-is, and therefore if you create 2+ routes then the 2nd route will have 
duplicate.

So you need to use a template parameter and prefix with 
id="{{myPrefix}}ValueHere".

We could maybe add a option "nodePrefix" or something that allows users to 
create route templates where nodeIDs are then prefixed. 

created in upstream [JIRA|https://issues.apache.org/jira/browse/CAMEL-18771]

  was:
When using a route template with hardcoded nodeIDs, then these IDs are used 
as-is, and therefore if you create 2+ routes then the 2nd route will have 
duplicate.

So you need to use a template parameter and prefix with 
id="{{myPrefix}}ValueHere".

We could maybe add a option "nodePrefix" or something that allows users to 
create route templates where nodeIDs are then prefixed. 


> camel-core - Route template with hardcoded node IDs - Allow to specify prefix
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-18771
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18771
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>
> When using a route template with hardcoded nodeIDs, then these IDs are used 
> as-is, and therefore if you create 2+ routes then the 2nd route will have 
> duplicate.
> So you need to use a template parameter and prefix with 
> id="{{myPrefix}}ValueHere".
> We could maybe add a option "nodePrefix" or something that allows users to 
> create route templates where nodeIDs are then prefixed. 
> created in upstream [JIRA|https://issues.apache.org/jira/browse/CAMEL-18771]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to