GET chan_name/v1/subscribe/dur_name
The web method GET chan_name/v1/subscribe/dur_name gets zero or more messages from a specific durable subscription on a specific channel.
One common usage pattern would be to repeat this request until the response array is empty, indicating that no messages remain in the durable.
HTTP Parameters
Syntax | Description |
---|---|
timeout=wait_time | Optional.
When present, the request waits this interval (in seconds) for messages to become available. If the value is less than 1, the request waits the minimum time of 1 second. When absent, the request waits the default interval. |
matcher=json_content_matcher | Required for last-value durables.
Specify a content matcher that includes the key field of a last-value durable. |
type=durable_type | Required if the durable subscription was originally created using the durable type parameter (via POST REST request).
If required, specify a durable type of either shared or last-value. |
Copyright © Cloud Software Group, Inc. All rights reserved.