I think your solution, since you are using 2.10.4, is to use the mockEndpointsAndSkip available in Camel 2.10 and onwards. When you mock endpoints in previous versions, the original enpoints are still active; i.e. both your mocks and your unmocked endpoints will receive the messages. I guess that is the problem here; your unmocked enpoints are not able to process the messages for some reason.
Read more about it here: http://camel.apache.org/mock.html -- View this message in context: http://camel.465427.n5.nabble.com/inflight-and-pending-exchanges-during-shutdown-in-a-test-tp5729620p5729635.html Sent from the Camel - Users mailing list archive at Nabble.com.
