Class PostCommitEventExecutor.EventBundleRunner

  • All Implemented Interfaces:
    Callable<Boolean>
    Enclosing class:
    PostCommitEventExecutor

    protected static class PostCommitEventExecutor.EventBundleRunner
    extends Object
    implements Callable<Boolean>
    Lets the listeners process the event bundle.

    For each listener, the event bundle is reconnected to a session and a transaction is started.

    In case of exception in a listener, the transaction is rolled back for that listener but processing continues for the other listeners.

    In case of timeout, an error is logged but processing continues for the other listeners (the thread is left running separately from the main thread that initiated post-commit processing).