You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Mateusz Nowakowski (JIRA)" <ji...@apache.org> on 2015/04/13 17:16:12 UTC

[jira] [Created] (CAMEL-8626) Leaking exchangesInFlightKeys in ManagedRoute

Mateusz Nowakowski created CAMEL-8626:
-----------------------------------------

             Summary: Leaking exchangesInFlightKeys in ManagedRoute
                 Key: CAMEL-8626
                 URL: https://issues.apache.org/jira/browse/CAMEL-8626
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.15.1
         Environment: Java 8 u 40 64 bit, Linux
            Reporter: Mateusz Nowakowski
            Priority: Critical


Having a camel context with a single route:
{code}
        onException(Throwable.class)
                .handled(true)
                .process(handleException()); // essentially  doing exchange.setException(someConvertedException);

        from("direct:generalFlow")
                .routingSlip(property(GeneralFlowRoute.class.getName()));
{code}

started from Spring:
{code}
    <camelContext id="flows" xmlns="http://camel.apache.org/schema/spring">
        <template id="template" defaultEndpoint="direct:generalFlow"/>
        <routeBuilder ref="generalFlow"/>
    </camelContext>

    <bean id="generalFlow" class="com.blabla.GeneralFlowRoute"/>
{code}

During performance test both exchangesInFlightKeys  and exchangesInFlightStartTimestamps are accumulating over time.

But if the test is run in one thread with debug - nothing is accumulated.

Issue found after migration from 2.14.1 to 2.15.1




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