Affects Version/s: 2.22.1
Fix Version/s: None
Apache Camel 2.22.1
we have a very wired behaviour in some of our routes.
It seems like the exchanges are not removed from the inflight repository when they are done.
I have a route monitoring the inflights on all the other routes deployed and the report I obtain show increasing inflight exchages in the observed context. When we stop the context the log reports something like thousand inflight messages, but we know for sure that those messages are ended and should not be there.
This is an example of the report:
The "creazione-viaggio-JDE-cancellazione-riga-di-stato" uses a ProducerTemplate and creates a new exchange for the send method.
And I'm quite sure also the other route uses a ProducerTemplate....
Also, the "prg-viaggi-context" has a multicast but not in the routeId where the inflight is.
If we do not manually stop the context, at some point, we cannot even check for inflights becasue we get this error from the browse() method of jmx bean:
It sounds like the exchange is duplicated in the repository ???
I have no idea how to collect more information in order to resolve this. But maybe someone had the same problems and can help me.