Interface MamaQueueEventCallback


  • public interface MamaQueueEventCallback
    Definition of the callback method for when a user added event fires. Concrete instances of this interface are registered with an event queue using the MamaQueue.enqueueEvent(). Currently only support by MAMA JNI using Wombat Middleware.
    • Method Detail

      • onEvent

        void onEvent​(MamaQueue queue,
                     java.lang.Object closure)
        Invoked when a user event, added by MamaQueue.enqueueEvent() fires.
        Parameters:
        queue - The MamaQueue on which the event was enqueued.
        closure - The user specified data associated with this event.