configuration queue¶
This is the runtime configuration for a casual domain.
The sections can be splitted in arbitrary ways, and aggregated to one configuration model casual
uses.
Same sections can be defined in different files, hence, give more or less unlimited configuration setup.
Most of the sections has a property note
for the user to provide descriptions of the documentation.
The examples further down uses this to make it easier to understand the examples by them self. But can of
course be used as a mean to help document actual production configuration.
domain.queue¶
Defines the queue configuration
Duration : string
¶
A string representation of a duration. SI units can be used. Example: 30ms
, 1h
, 3min
, 40s
. if no SI unit s
is used
Retry (structure)¶
property |
description |
default |
---|---|---|
[count : |
number of rollbacks before move to error queue |
|
[delay : |
delay before message is available for dequeue after rollback |
|
Enable (structure)¶
property |
description |
default |
---|---|---|
[enqueue : |
if enqueue is enabled for the queue |
|
[dequeue : |
if dequeue is enabled for the queue |
|
domain.queue.default¶
Default properties that will be used if not defined per queue
property |
description |
default |
---|---|---|
[directory : |
directory for generated storage files |
|
[queue.retry : |
retry semantics |
Bytes : string
¶
A string representation of a quantity of bytes. IEC 80000-13 units up to T/Ti can be used. Example: 3B
, 24MiB
, 15MB
. If no unit is specified, B
is used.
Capacity (structure)¶
property |
description |
default |
---|---|---|
[size : |
the maximum total size of messages that the group may store |
domain.queue.groups (list)¶
Defines groups of queues which share the same storage location. Groups has no other meaning.
property |
description |
default |
---|---|---|
alias : |
the (unique) alias of the group. |
|
[queuebase : |
the path to the storage file. |
|
[queues : |
defines all queues in this group, see below |
|
[capacity : |
limits the storage capacity of the group |
Note: if :memory:
is used as queuebase
, the storage is non persistent
domain.queue.groups.queues¶
property |
description |
---|---|
name : |
the (unique) name of the queue. |
[retry : |
retry semantics |
[enable : |
enqueue/dequeue enable/disable |
domain.queue.forward¶
Section to configure queue to service forwards and queue to queue forwards.
domain.queue.forward.default¶
Default properties that will be used if not explicitly configured per forward.
property |
description |
default |
---|---|---|
[service.instances : |
number of forward instances |
|
[service.reply.delay : |
reply enqueue available delay |
|
[queue.instances : |
number of forward instances |
|
[queue.target.delay : |
enqueue available delay |
|
domain.queue.forward.groups (list)¶
property |
description |
---|---|
alias : |
the (unique) alias of the group. |
[services : |
queue-to-services forwards |
[queues : |
queue-to-queue forwards |
domain.queue.forward.groups.services (list)¶
property |
description |
default |
---|---|---|
source : |
the queue to dequeue from |
|
[alias : |
the (unique) alias of the forward |
|
[instances : |
number of multiplexing ‘instances’ |
|
target.service : |
service to call |
|
[reply.queue : |
queue to enqueue reply to |
|
[reply.delay : |
reply enqueue available delay |
|
domain.queue.forward.groups.queues (list)¶
property |
description |
default |
---|---|---|
source : |
the queue to dequeue from |
|
[alias : |
the (unique) alias of the forward |
|
[instances : |
number of multiplexing ‘instances’ |
|
target.queue : |
queue to enqueue to |
|
[target.delay : |
enqueued available delay |
|
domain.queue.forward.groups.queues (list)¶
property |
description |
default |
---|---|---|
source : |
the queue to dequeue from |
|
[alias : |
the (unique) alias of the forward |
|
[instances : |
number of multiplexing ‘instances’ |
|
target.queue : |
queue to enqueue to |
|
[target.delay : |
enqueued available delay |
|