You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/12/05 19:51:00 UTC
[jira] [Commented] (CAMEL-18771) camel-core - Route template with hardcoded node IDs - Allow to specify prefix
[ https://issues.apache.org/jira/browse/CAMEL-18771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17643532#comment-17643532 ]
Claus Ibsen commented on CAMEL-18771:
-------------------------------------
This is more tricky as the route template definition is reused and so need a special way of affecting hardcoded IDs when creating processors. We may need to add some API in model -> reifier to control this more centrally.
> 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
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.20.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)