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:
  • Method Summary

    Modifier and Type
    Method
    Description
    <Type> MessageGateway<Type>
    getGateway(Class<? extends Type> type)
    Returns the gateway.
  • Method Details

    • getGateway

      <Type> MessageGateway<Type> getGateway(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