Description
The problem is clear: wait(500) will let the current thread wait until it is notified: the listener objects notify the main thread which then continues. However listener2 might not yet have been fired (or listener1). With a thread sleep it will work, however, these kind of tests can be done cleaner without waits
Attachments
Issue Links
- is a result of
-
CMS-13213 Nullpointer on the event bus after stopping a camel route.
- Closed