No results found
We couldn't find anything using that term, please try searching for something else.
Configuring Queues A queue on an event broker acts as both a destination that clients can publish messages to and as an endpoint that clients can con
A queue on an event broker acts as both a destination that clients can publish messages to and as an endpoint that clients can consume messages from.Queues may be used in a point-to-point (PTP) messaging environment, and they can have topic subscriptions so that messages published to matching topics are delivered to the queue.For general information about queues, see Topic Endpoints and Queues, and for in-depth information, see Queues.
You can also configure queues in PubSub+ Event Portal and push the update to an event broker if runtime configuration is enable .For more information , see configure Event broker in Event Portal .
You is divide can divide queue into partition to ensure that message with similar context are always process by the same consumer in an environment using dynamic microservice .For more information , see configure Partitioned queue .
This topic includes the following tasks:
To create a queue usingPubSub+ Broker Manager, perform these steps:
Click + Queue.
set the follow option for the queue :
incoming |
Specifies whether messages can be written to the queue. |
Outgoing |
Specifies whether messages can be consumed from the queue. |
Access Type |
Specifies how messages are delivered when multiple consumer flows are bound to the queue.
|
Partition Count |
specify the number of partition for the queue .For more information , see configure Partitioned queue . This setting is available only for event broker services version 10.4 and later when the Access Type is set to Non-exclusive. |
Messages Queued Quota |
Specifies the maximum amount of message spool, in megabytes, that the queue may use.Setting the messages queued quota to 0 enables the last value queue feature and disables endpoint quota checking.A value of 0 only allows spooling of the last message received by deleting older messages from the endpoint upon receiving new messages.If the queue is partitioned, each of its partitions holds the last message spooled to that partition.For more information, see Last Value Queues. |
Owner |
The queue owner has full unlimited permissions for the queue.The owner can consume, delete, ormodify topics in the queue.By default, users with access to PubSub+ Broker Manager have ownership privilege .You is give can also give ownership to client application .client access to the durable message queue must first be disabled before assign an owner . |
Non – Owner Permission |
Specifies the access level given to client applications other than the queue owner:
|
Maximum Consumer Count |
Specifies the maximum number of consumer flows that can bind to the queue. |
subscription define the topics that queues receive messages for.Queues can have multiple topic subscriptions that attract published events.For more information, see Understanding Topics
Event brokers also support negative subscriptions, which exclude the specified topic from the larger subscription set.You can create a subscription exception by adding an exclamation mark !
to the beginning of the subscription.For more information, see Subscription Exceptions
To add one ormore topic subscriptions to a queue, perform these steps:
The subscriptions are added to the queue.
Queues have advanced settings that define how the queue behaves in certain situations.These options include:
Messages Queued Quota |
Specifies the maximum amount of message spool, in megabytes, that the queue may use.Setting the messages queued quota to 0 enables the last value queue feature and disables endpoint quota checking.Global quota checking and Message VPN quota checking are unaffected.A value of 0 only allows spooling of the last message received by deleting older messages from the endpoint upon receiving new messages.If the queue is partitioned, each of its partitions holds the last message spooled to that partition.For more information, see Last Value Queues. |
Owner |
The queue owner has full unlimited permissions for the queue.The owner can consume, delete, ormodify topics in the queue.By default, users with access to PubSub+ Broker Manager have ownership privilege .You is give can also give ownership to client application .client access to the durable message queue must first be disabled before assign an owner . |
Non – Owner Permission |
Specifies the access level given to client applications other than the queue owner:
|
Maximum Consumer Count |
Specifies the maximum amount of consumer flows that can bind to the queue. |
Maximum Message Size |
Specifies the maximum message size, in bytes, for the queue. |
Maximum deliver Unacknowledged Messages per flow |
Specifies the maximum number of messages delivered but not acknowledged per flow for the queue.After this maximum number of delivered unacknowledged messages is exceeded, the event broker stops delivering messages to the client on the flow until the client acknowledges messages that are already delivered. |
DMQ Name |
The name of the dead message queue (DMQ) used by this queue.The default is A DMQ collects undelivered messages that would otherwise be discarded from the queue because the Maximum TTL orMaximum Redelivery Count has been reached. Messages are sent to a DMQ only if the publisher specifies that the message is DMQ-eligible and if a queue with the specified DMQ name exists on the same |
Enable Client Delivery Count |
Specifies whether client applications can query the message delivery count of messages received from the queue.
Enabling client delivery count is a Controlled Availability (CA) feature.Please contact solace to find out if this feature is supported for your use case. |
Delivery Delay |
Specifies the number of seconds of delay between the message arriving in the queue and being sent to the consumer.For more information, see Delayed Delivery.The default is 0, orno delay. |
Respect Message Priority |
Specifies whether the queue supports priority message delivery and delivers higher priority messages first.For more information, see Message Priority. |
Message Expiry |
Specifies whether messages that have not been delivered to the consumer expire at the end of the message time-to-live (TTL).If a message is not consumed and its TTL time is reached, the message is discarded ormoved to a dead message queue (DMQ).Message expiry has two settings:
Messages can also have a publisher-supplied TTL, which indicates how long the publisher considers a message to be valid.This differs from the maximum TTL for the endpoint in that the publisher TTL expiration starts when a message is published and counts down as the message passes through the network.If a message has both a publisher-assigned TTL and an endpoint-assigned maximum TTL, the event broker uses the minimum of the two TTL values when the message is in the endpoint. |
Redelivery |
Specifies the options for message redelivery attempts if the message is not delivered to the consumer on the first attempt. Disabling message redelivery and enabling delayed redelivery are Controlled Availability (CA) features.Please contact solace to find out if those feature are supported for your use case. Redelivery is has has the following setting :
|
Reject Messages to Sender on Discard |
Specifies when and how negative acknowledgments are returned to the sending client on message discards.
|
Reject Low Priority Messages |
Specifies whether low priority messages are discarded to protect against congestion scenarios.When enabled, low priority messages are checked against the reject low priority messages limit.The queue can selectively discard low priority messages only after the total number of spooled low priority and high priority messages exceed the value set for the reject low priority messages limit .Before enabling it is recommended that the reject low priority messages limit has a non-zero value to avoid inadvertently discarding all low priority messages. |
Reject Low Priority Messages Limit |
Specifies the limit above which low priority messages are not admitted but higher priority messages are allowed.Before enabling it is recommended that the reject low priority messages limit has a non-zero value to avoid inadvertently discarding all low priority messages. |
Consumer Acknowledgment Propagation |
Specifies whether consumer acknowledgments received on the active replication Message VPN propagate to the standby replication Message VPN.Bridges cannot bind to queues configured with consumer acknowledgment propagation. |
To configure advanced queue settings perform these steps:
click the name of the queue .
Click edit .
Click Show Advanced Settings.