Version: 10.16.0
Class

solace.QueueProperties

Contents

class solace.QueueProperties

Represents a queue properties object. May be passed in to solace.Session#createMessageConsumer when creating a solace.MessageConsumer object. Upon creation of a queue, undefined queue properties are set to default values chosen by the router.

Constructor Top

  QueueProperties ( )

Properties Top

solace.QueueAccessType accessType = undefined
solace.QueueDiscardBehavior discardBehavior = {solace.QueueDiscardBehavior.NOTIFY_SENDER_OFF}
Number maxMessageRedelivery = undefined
Number maxMessageSize = undefined
solace.QueuePermissions permissions = undefined
Number quotaMB = undefined
Boolean respectsTTL = false

Constructor details Top

QueueProperties ( )

Represents a queue properties object. May be passed in to solace.Session#createMessageConsumer when creating a solace.MessageConsumer object. Upon creation of a queue, undefined queue properties are set to default values chosen by the router.

Properties Detail Top

public solace.QueueAccessType accessType = undefined

Gets/sets the access type for this queue.

This parameter must NOT be set when creating a temporary queue via solace.Session#createMessageConsumer. Such a queue has its access type determined by the remote message router.

public solace.QueueDiscardBehavior discardBehavior = {solace.QueueDiscardBehavior.NOTIFY_SENDER_OFF}

Gets/sets the discard behavior for this queue.

public Number maxMessageRedelivery = undefined

Gets/sets the maximum number of times to attempt message redelivery for this queue.

public Number maxMessageSize = undefined

Gets/sets the maximum message size, in bytes, for any single message spooled on this queue.

public solace.QueuePermissions permissions = undefined

Gets/sets permissions for this queue.

When creating a temporary queue, these are the permissions that apply to all other users; the user creating the temporary queue is always granted DELETE permissions.

public Number quotaMB = undefined

Gets/sets the quota, in megabytes, for this queue.

public Boolean respectsTTL = false

Gets/sets whether this queue respects Time To Live on messages.