Class CancelSchedule

All Implemented Interfaces:
JsonType

public class CancelSchedule extends Command
Command to cancel a previously scheduled message using its scheduleId.

This command instructs Flux to remove a scheduled message if it hasn't yet been delivered. Cancellation is idempotent — if the schedule does not exist, the command has no effect.

See Also:
  • Constructor Details

    • CancelSchedule

      public CancelSchedule()
  • Method Details

    • routingKey

      public String routingKey()
      Returns the routing key used for this command. Equals the scheduleId.
      Overrides:
      routingKey in class Command
      Returns:
      a routing key string, or null if not specified