Class MatrixNotificationWorkflowOperationHandler

java.lang.Object
org.opencastproject.workflow.api.AbstractWorkflowOperationHandler
org.opencastproject.workflow.handler.matrix.MatrixNotificationWorkflowOperationHandler
All Implemented Interfaces:
WorkflowOperationHandler

public class MatrixNotificationWorkflowOperationHandler extends AbstractWorkflowOperationHandler
The Matrix notification workflow operation handler can send notifications to Matrix rooms.

This workflow operation sends a message to a specified Matrix room using the Matrix Client-Server API. It requires the following configuration parameters:

  • room-id - The Matrix room ID to send the notification to
  • message - The message body to send

The handler also requires the following configuration properties to be set:

  • matrix.server.url - The Matrix server URL (default: https://matrix.org)
  • matrix.access.token - The Matrix access token for authentication
  • matrix.max.retry - Maximum number of retry attempts (default: 5)
  • matrix.timeout - Request timeout in seconds (default: 10)