I have a unit-test for a route that uses a MockEndpoint and waits 5 sec with
Thread.sleep() for 1 message to be finished. This works, but  now i want to
use the NotifyBuilder  instead. But instead of 1 Message the MockEndpoint
receives 3 (i think its the original message and the target message twice).
if i use NotifyBuilder  but replace the MockEndpoint with the file-component
(fileExist=Fail) everything works fine again, no error but 1 file is
written. Did anyone already experienced this and can tell me what to do?

--
View this message in context: 
http://camel.465427.n5.nabble.com/NotifyBuilder-and-MockEndpoint-question-tp4298229p4298229.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to