Contents
class solace.QueueBrowserProperties
Defines the properties for a solace.QueueBrowser.
Constructor Top
QueueBrowserProperties ( ) |
Properties Top
Number |
connectAttempts
= 3
| ||
Number |
connectTimeoutInMsecs
= 10000
| ||
solace.QueueDescriptor | queueDescriptor | ||
Number |
transportAcknowledgeThresholdPercentage
= 60
| ||
Number |
transportAcknowledgeTimeoutInMsecs
= 1000
| ||
Number |
windowSize
= 255
|
Constructor details
Top
QueueBrowserProperties
( )
Defines the properties for a solace.QueueBrowser.
Defines the properties for a solace.QueueBrowser.
Properties Detail Top
public
Number
connectAttempts
= 3
3
Gets and sets the maximum number of bind attempts when creating a connection to the Solace Message Router.
- The valid range is >= 1.
public
Number
connectTimeoutInMsecs
= 10000
10000
The bind timeout in milliseconds when creating a connection to the Solace Message Router.
- The valid range is >= 50.
Defines the queue from which to consume.
- For durable queues and durable topic endpoints, this must be a solace.QueueDescriptor.
public
Number
transportAcknowledgeThresholdPercentage
= 60
60
The threshold for sending an acknowledgement, as a percentage. The API sends a transport acknowledgment every N messages where N is calculated as this percentage of the transport window size if the endpoint's max-delivered-unacked-msgs-per-flow setting at bind time is greater than or equal to the transport window size. Otherwise, N is calculated as this percentage of the endpoint's max-delivered-unacked-msgs-per-flow setting at bind time.
- The valid range is 1 <= transportAcknowledgeThresholdPercentage <= 75.
public
Number
transportAcknowledgeTimeoutInMsecs
= 1000
1000
The transport acknowledgement timeout for guaranteed messaging in milliseconds. When the solace.QueueBrowserProperties.transportAcknowledgeTimeoutInMsecs is not exceeded, acknowledgements will be returned to the router at intervals not less than this value.
- The valid range is 20 <= transportAcknowledgeTimeoutInMsecs <= 1500.
public
Number
windowSize
= 255
255
The window size for Guaranteed Message delivery. This is the maximum number of messages that will be prefetched from the Solace Messaging Router and queued internally by the API while waiting for the application to accept delivery of the messages.
- The valid range is 1 <= windowSize <= 255.