Class CancelSchedule
java.lang.Object
io.fluxzero.common.api.Request
io.fluxzero.common.api.Command
io.fluxzero.common.api.scheduling.CancelSchedule
- All Implemented Interfaces:
JsonType
Command to cancel a previously scheduled message using its
scheduleId.
This command instructs Fluxzero 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 Command
getGuarantee
-
Constructor Details
-
CancelSchedule
public CancelSchedule()
-
-
Method Details
-
routingKey
Returns the routing key used for this command. Equals thescheduleId.- Overrides:
routingKeyin classCommand- Returns:
- a routing key string, or
nullif not specified
-