Hello everyone
Tell me, please, is there a way to kill pending transactions?

Route freezes, after I kill transactions in InflightRepository

cc.getInflightRepository().remove(exchange);

But they remain pending. When I stop the route, it does not stop
immediately because of a pending transaction remain

int inflight=
this.context.getInflightRepository().size(order.getRoute().getId());
//there 0
inflight += DefaultShutdownStrategy.getPendingInflightExchanges(order);
//but there stil remain

They are killed only after a forced stop of the route or after the timeout


-- 
*С наилучшими пожеланиями, Лукьянов Михаил*
*Моб: **+7-909-69-71-547​*

Reply via email to