Version: 10.16.0
Class

solace.QueueBrowserProperties

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.

Properties Detail Top

public Number connectAttempts = 3

Gets and sets the maximum number of bind attempts when creating a connection to the Solace Message Router.

public Number connectTimeoutInMsecs = 10000

The bind timeout in milliseconds when creating a connection to the Solace Message Router.

public solace.QueueDescriptor queueDescriptor

Defines the queue from which to consume.

public Number transportAcknowledgeThresholdPercentage = 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.

public Number transportAcknowledgeTimeoutInMsecs = 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.

public Number windowSize = 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.