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/09/26 16:55:00 UTC

[jira] [Commented] (CAMEL-18557) camel-core - Total counter on ContextMBean is too high

    [ https://issues.apache.org/jira/browse/CAMEL-18557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17609593#comment-17609593 ] 

Claus Ibsen commented on CAMEL-18557:
-------------------------------------

This is especially a problem when you use kamelets (as each kamelet is a route). So the TOTAL counter may be +4 but there was only 1 exchange routed.



> camel-core - Total counter on ContextMBean is too high
> ------------------------------------------------------
>
>                 Key: CAMEL-18557
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18557
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.x
>
>
> from timer:a
>   to direct:b
> from direct:b
>   log  b
>   to seda:c
> from seda:c
>   log c
> Given 1 exchange triggered by the timer
> then route a, b and c will all says total = 1
> and the camel context would say total = 3 (for every route - even if it was the same exchange)



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