Retrieves a list of Message Queue Items ready to Process based upon filters.

Syntax

ISMessageQueueUtilities.GetItemsForProcessing(filterType, filterServiceId, messageQueueItems, [sequential], [retrySeconds], [limit], [retryUtcDate])

Parameters

NameTypeOptionalByRefDescription
filterType iseMessageQueueType The Type of Message Queue Item to retrieve.
filterServiceId String Optional ServiceId to filter by.
messageQueueItems List(Of ISMessageQueueItem) ByRef The list of Message Queue Items retrieved.
sequential Boolean Optional <para>Sequential indicates that all Items should be processed in the order that they were added - if an error occurs this should block further messages being handled.</para> <para> If True, Items with a Status of Queued or Processing are returned.</para> <para> If False, Items with a Status of Queued or Processing (at least Retry Seconds ago) are returned.</para> If omitted, a value of True is assumed.
retrySeconds Integer Optional The number of seconds before an Item with a Status of "Processing" can be retried. The default is 300 (5 minutes) and can be between 60 (1 minute) And 3600 seconds (1 hour). If omitted, a value of ISMessageQueueUtilities.DefaultRetrySeconds is assumed.
limit Integer Optional The Number of items to limit the list to. The Default is 100 and can be between 10 and 1000. If omitted, a value of 100 is assumed.
retryUtcDate Date Optional If specified, only Queued Items with a RetryUtcDate on or before this date/ time are included. If omitted, a value of Nothing is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISMessageQueueUtilities
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0