camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-2110) InflightRepository - Allow it to track per endpoint as well so a consumer knows how many in flight exchanges it has
Date Tue, 27 Oct 2009 07:07:52 GMT

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

Claus Ibsen resolved CAMEL-2110.
--------------------------------

    Resolution: Fixed

trunk: 830073.

> InflightRepository - Allow it to track per endpoint as well so a consumer knows how many
in flight exchanges it has
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2110
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2110
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> Add this method
> {code}
>     /**
>      * Current size of inflight exchanges which are from the given endpoint.
>      * <p/>
>      * Will return 0 if there are no inflight exchanges.
>      *
>      * @param endpoint the endpoint where the {@link Exchange} are from.
>      * @return number of exchanges currently in flight.
>      */
>     int size(Endpoint endpoint);
> {code}
> To the {{InflightRepository}}.
> This allows fine grained tracking of in flight exchanges. Then a given route and consumer
can report the number of exchanges it has in flight.
> And we can also use that to help throtteling a consumer to avoid having too many in flight
exchanges.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message