Parameter
|
Value
|
|
---|---|---|
id
|
Unique queue ID. No two queues can have the same value.
|
|
version
|
Can be any value except v1, which is reserved for Version 1 settings. If not specified, the value defaults to v1.
|
|
callback_option
|
• accept: Used to configure queues that can process both callback and non-callback platform events.
• reject: Used to configure queues that cannot process callback platform events.
• callback_only: Used to configure queues that process only callback platform events.
|
|
expression
|
Valid conditions:
• object: Used to specify the objects supported by this queue, with valid subconditions in and eq, for example:
◦ "object:["in",["Account","Contact"]] means that the expression is evaluated as true for the Account or Contact objects.
◦ "object":["eq","Account"] means that the expression is evaluated as true only for Account objects.
• event: Used to specify the events supported by this queue, with the same valid subconditions as for the object condition.
• and: Used to specify that all conditions in the expression must be satisfied to trigger platform event processing.
◦ Valid subconditions are the same as for the expression parameter.
• or: Used to specify that any one condition in the expression must be satisfied to trigger platform event processing.
◦ Valid subconditions are the same as for the expression parameter.
• PE field path: The payload field path, separated with periods (.) and the same valid subconditions as for the object and event conditions, for example payload.fields.SVMXC__State__c.
|
|
threads
|
The number of threads that can be used to process platform events. If not specified, by default, only one thread is used to process platform events in the queue.
|
|
exclusive_operation
|
The operation to be used to detect platform event dependencies, so that two dependent PEs are not processed at the same time.
|
|
operation
|
Optional operation to determine whether the queue processes platform events based on their payloads. If the operation returns true, platform events are processed in the queue.
|
|
type
|
Can be transaction or master. If not specified, master is the default.
|