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. When absent or zero, the request returns immediately, even if no messages are available in the durable. |
matcher=json_content_matcher | Required for last-value durables.
Specify a content matcher that includes the key field of a last-value durable. |
Copyright © Cloud Software Group, Inc. All rights reserved.