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

Claus Ibsen reassigned CAMEL-22420:
-----------------------------------

    Assignee: Claus Ibsen

> camel-core - Detect duplicate processor ids within same route
> -------------------------------------------------------------
>
>                 Key: CAMEL-22420
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22420
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.15.0
>
>
> If you assign the same id to multiple EIPs in the same route, then only the 
> last EIP is registered in JMX. 
> There duplicate ID check only applies for routes - but within a route then an 
> end user may make that duplicate mistake.
> {code:java}
>     <route>
>         <from uri="timer:xml?period=1000"/>
>         <setBody>
>             <simple>Hello Camel from ${routeId}</simple>
>         </setBody>
>         <log message="${body}" id="log-a"/>
>         <log message="222 ${body}" id="log-a"/>
>     </route> {code}
>  
> Here there are 2 log EIPs with the same id. The route is working correctly 
> but only 1 EIP is registered in JMX and this makes management and 
> observability a bit more difficult.
>  



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

Reply via email to