Is there any good way to flush the event queue in Jackrabbit 2? I'm trying to do this in the context of an integration test. I can get the effect I want using SynchronousEventListener, but this creates a Jackrabbit dependency in a place where their shouldn't be one.
Thanks, Justin