Interface DispatchFn

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 interface DispatchFn
The abstraction import me.ehp246.aufjms.api.jms.JmsMsg; of a JMS JMSProducer. The producer is scoped to a Connection.

The interface only is concerned with sending the message.

Author:
Lei Yang
  • Method Summary

    Modifier and Type Method Description
    JmsMsg dispatch​(JmsDispatch dispatch)