The Map 'exchangeTimeouts' is always growing.into the object org.ow2.petals.jbi.messaging.routing.module.PriorityOrdererModule. There is a issue into this code part:
boolean found = false;
synchronized (this.exchangePriority3) {
found = this.exchangePriority3.remove(exchangeDecorator);
}
if (!found) {
synchronized (this.exchangePriority2) {
found = this.exchangePriority2.remove(exchangeDecorator);
}
}
if (!found) {
synchronized (this.exchangePriority1) {
found = this.exchangePriority1.remove(exchangeDecorator);
}
}
if (!found) {
synchronized (this.exchangePriority0) {
found = this.exchangePriority0.remove(exchangeDecorator);
this.exchangeTimeouts.remove(exchangeDecorator);
}
}