Interface MessageGatewayService


  • public interface MessageGatewayService
    OSGI Service to access the available Gateways for a message of a given type. An example of such a message would be an Email
    Since:
    5.4
    See Also:
    MessageGateway
    • Method Detail

      • getGateway

        <Type> MessageGateway<Type> getGateway​(java.lang.Class<? extends Type> type)
        Returns the gateway.
        Type Parameters:
        Type - The message type.
        Parameters:
        type - of the message a gateway is requested
        Returns:
        the MessageGateway or null if non registered for this type