camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8385) Add a OldestInflightStartedTimestamp and OldestInflightStartedExchangeId attribute to route MBeans
Date Mon, 23 Feb 2015 20:45:11 GMT

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

Hiram Chirino commented on CAMEL-8385:
--------------------------------------

Ok. I've reworked the patch to look like:

https://github.com/chirino/camel/commit/14a30ff094673ac0866db2470bd1247772e7e7d1

I had to add a method to the InflightRepository so that I could order the exchanges in the
right order and restrict the results to the desired route id:
{code}
Collection<InflightExchange> browse(String routeId, int limit, Comparator<InflightExchange>
comparator)
{code}

Since adding methods to interfaces can be breaking change, I'm not sure if this is acceptable.



> Add a OldestInflightStartedTimestamp and OldestInflightStartedExchangeId attribute to
route MBeans
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-8385
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8385
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Hiram Chirino
>            Assignee: Hiram Chirino
>             Fix For: 2.15.0
>
>
> If we has an attribute like OldestInflightStartedTimestamp and OldestInflightStartedExchangeId
then it would be easier to monitor for routes which get 'stuck' or exceed the expected SLA
for the route to complete processing the exchange.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message