Class CancelSchedule
java.lang.Object
io.fluxcapacitor.common.api.Request
io.fluxcapacitor.common.api.Command
io.fluxcapacitor.common.api.scheduling.CancelSchedule
- All Implemented Interfaces:
JsonType
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the routing key used for this command.Methods inherited from class io.fluxcapacitor.common.api.Command
getGuarantee
-
Constructor Details
-
CancelSchedule
public CancelSchedule()
-
-
Method Details
-
routingKey
Returns the routing key used for this command. Equals thescheduleId
.- Overrides:
routingKey
in classCommand
- Returns:
- a routing key string, or
null
if not specified
-