Hi,

I think I found a bug in camel 2.8


I have the following code:

public void configure() {
    from ("activemq:newOrders")
to("http://server:port/path/?bridgeEndpoint=true&httpClient.soTimeout=120000";)
}

this code terminates after 2 mins with a timeoutException (which is OK)

now I add an ErrorHandler to my context like this:

public void configure() {
           errorHandler(deadLetterChannel("activemq:qstep.orders.failed")
                .log("Doing redelivery of message")
                .maximumRedeliveries(10)
                );

    from ("activemq:newOrders")
to("http://server:port/path/?bridgeEndpoint=true&httpClient.soTimeout=120000";)
}


this route never terminates. It waits forever and when I try to stop my bundle in SMX I get that timeout-messages cause there a still 1 inflight messages.. after 300 secs it then terminates.

regards, Marco

Reply via email to