Class SendMessageAction


public class SendMessageAction extends AbstractQActionFunction<SendMessageInput,SendMessageOutput>
  • Constructor Details

    • SendMessageAction

      public SendMessageAction()
  • Method Details

    • execute

      public SendMessageOutput execute(SendMessageInput input) throws QException
      Dispatch through the named provider. Templates and idempotency require declared capabilities. Category, linked record, sender name, locale, and variables without a template are advisory and unsupported providers silently ignore them.
      Specified by:
      execute in class AbstractQActionFunction<SendMessageInput,SendMessageOutput>
      Throws:
      QException
    • capabilities

      public static Set<MessagingProviderCapability> capabilities(String messagingProviderName)
      Capabilities of a named provider in the current QInstance. Returns an empty set if metadata is absent or its type cannot resolve. Use isAvailable to distinguish unavailable providers from providers with no optional features.
    • isAvailable

      public static boolean isAvailable(String messagingProviderName)
      Whether provider metadata exists in the current QInstance and its type resolves. Does not check transport connectivity, credentials, or delivery readiness.