Resequence policy
Attach a Resequence policy to one or more Resequence nodes in a message flow to control the storage of events at run time.
You use a Resequence node in a message flow to control the sequence in which one or more groups of incoming messages are propagated through a message flow. You can use a Resequence policy to control, at run time, where the Resequence node stores messages, and how the node handles sequences of messages.
To attach a
Resequence policy to a Resequence node,
set the Configurable service property
of the Resequence node
to the name of the policy, in the format {policyProjectName}:policyName
.
You must deploy this policy before the associated message flow is
started.
If you redeploy a Resequence policy, all message flows that are using the policy will be stopped and restarted.
Property | Property name in .policyxml file | Value |
---|---|---|
Queue prefix | queuePrefix | This property defines the queue prefix that is used to specify
the storage queues that are generated for use by the Resequence node. This property
is optional but if you set it, you must define the following two queues:
The prefix can contain any characters that are valid in an IBM® MQ queue name, but must be no longer
than eight characters and must not begin or end with a period (.).
For example, If
no queue prefix is specified, the Resequence node uses the following
default queues that are generated when the integration node is created:
Value type: String |
Missing message timeout (seconds) | missingMessageTimeout | This mandatory property specifies how long the Resequence node waits for the
next message in a sequence before it is propagated. The value can
be any integer that is greater than 1. If you set this property, its value overrides the corresponding value that is set on the node. Value type: Integer |
Start sequence (seconds) | startSequenceSeconds | This property specifies how long the Resequence node waits before
it calculates the start number in a sequence of messages. The value
can be any positive integer. This value is used only if the Start of sequence property of the Resequence node is set to Automatic. If you set this property, its value overrides the value that is set on the node. Value type: Integer |
End sequence (seconds) | endSequenceSeconds | This property specifies how long the Resequence node waits for the
next message in the sequence to arrive before it closes the sequence.
The value can be any positive integer. If you set this property, its value overrides the value that is set on the node. Value type: Integer |