POST persistence/clusters/<clus_name>/stores/<stor_name>/durables/<dur_name>

This web method sends a command to purge or rewind a specific durable. The broader form, POST persistence/clusters/<clus_name>/stores/<stor_name> sends a command to purge all durables in a specific store.

  • <clus_name> in the URI is the cluster name.
  • <stor_name> in the URI is the store name.
  • <dur_name> in the URI is the durable name.

Commands

Command Description
{"cmd":"purge"} Purge messages from a durable.
{"cmd":"rewind"} Rewind a durable.

Filtering

See Filters for Durables.

Example Requests

curl -X POST http://<host>:<port>/api/v1/persistence/clusters/<clus_name>/stores/<stor_name>/durables/<dur_name> -d <json_cmd>