Interface DispatchListener.PreSend

All Superinterfaces:
DispatchListener
All Known Implementing Classes:
DispatchLogger
Enclosing interface:
DispatchListener
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static non-sealed interface DispatchListener.PreSend extends DispatchListener
  • Method Details

    • preSend

      void preSend(JmsDispatch dispatch, JmsMsg msg)
      Invoked after a TextMessage has been successfully constructed for the JmsDispatch and just before the message is sent.

      This event will not trigger if an exception interrupts the construction operations.