SK SKYVVA Documentation

1. Interface Queue Execution Mode Configuration

Overview

This document describes the Interface Level Queue Processing Configuration used to control queue execution behavior during interface processing.

The configuration determines how the queue engine handles message failures and processing continuation.

Supported execution modes:

The document also explains:

1. Execution Modes

Execution Mode is configured at the Interface Detail level.

image

Users can select the processing behavior directly from the Interface Detail configuration screen.

Supported execution modes:

The selected execution mode controls how the queue processing engine handles message failures during interface execution.

1.1 Continue When an Error Occurs (EO) (Default)

When this option is configured, the queue processing engine continues processing the remaining queue records even if an error occurs in one of the messages.

This behavior follows EO (Exactly Once) processing behavior.


Processing Behavior


Processing Flow

image

Important Note

When using Continue When an Error Occurs (EO), the queue processing continues even if message errors occur.

After all queue records are processed, the queue status automatically returns to: Ready No manual restart or queue recovery action is required.


Example Scenario

Queue contains 5 messages:

MessageResult
Message 1Success
Message 2Success
Message 3Failed
Message 4Success
Message 5Success

Result


Recommended Usage

Use this mode when:


Advantages


Considerations


1.2 Stop When an Error Occurs (EOIO)

When this option is configured, the queue processing engine stops processing immediately after the first error occurs.

This behavior follows EOIO (Exactly Once In Order) processing behavior.


Processing Behavior


Processing Flow

image

Example Scenario

Queue contains 5 messages:

MessageResult
Message 1Success
Message 2Success
Message 3Failed
Message 4Not Created
Message 5Not Created

Result


Recommended Usage

Use this mode when:


Advantages


Considerations


2. Queue Monitoring

Users can view queue records in the Queue Monitoring tab.

Queue Creation Behavior

Queue Monitoring Visibility

Users can view:


3. Queue Status Lifecycle

The queue status lifecycle controls processing state transitions during execution and recovery.


Queue Statuses

The following queue statuses are available during interface processing lifecycle:

StatusDescription
ReadyQueue is ready for processing
WorkerQueue worker is assigned and waiting to start processing
RunningQueue is actively processing messages
FailedQueue processing failed due to message error
HoldQueue processing is paused due to an error
Stop by AdminQueue processing is manually stopped by an administrator
CompletedQueue processing completed successfully

4. Queue Reprocessing Flow

When an interface is configured with Stop When an Error Occurs, queue processing stops immediately after an error is detected.

The queue remains in Hold status until the issue is resolved and the queue is manually restarted.

image

5. Queue Processing Restrictions

If the interface queue status is:

then the user cannot:

Restriction Flow

image

6. Queue Restart Rules

Please note that before changing the queue status from Hold to Ready, the user must first resolve the failed message or processing error.

Processing is only allowed after the queue status is manually changed back to: Ready

Once the queue status becomes Ready, the user can:


7. Functional Comparison

FeatureContinue When an Error OccursStop When an Error Occurs
Processing continues after errorYesNo
Queue stops on failureNoYes
Failed message blocks othersNoYes
Queue status changes to HoldNoYes
Manual restart requiredNoYes
Processing styleEO-likeEOIO-like
Message order guaranteeNoYes
Throughput priorityHighMedium
Sequential integrityLowHigh

8. User Notes

Continue When an Error Occurs

Users should use this mode when:

Important Notes:

Stop When an Error Occurs

Users should use this mode when:

Important Notes:

9. User Scenarios

Continue When an Error Occurs

Expected Behavior

  1. Execute interface with multiple messages.
  2. Force one message to fail.
  3. Verify:
    • Failed message receives error status.
    • Remaining messages continue processing.
    • Queue remains active.

Stop When an Error Occurs

Expected Behavior

  1. Execute interface with multiple messages.
  2. Force one message to fail.
  3. Verify:
    • Queue processing stops immediately.
    • Remaining messages are not created for processing.
    • Queue status changes to Hold.

Reprocessing Validation

Expected Behavior

  1. Queue enters Hold status.
  2. Verify user cannot:
    • Reprocess message
    • Execute interface again
  3. Change queue status to Ready.
  4. Verify processing becomes available again.

10. User Guidance

When to Use Continue When an Error Occurs

Recommended for:

Examples:

When to Use Stop When an Error Occurs

Recommended for:

Examples:

11. Summary

Execution ModeQueue Behavior
Continue When an Error Occurs (EO)Queue continues processing after failed messages
Stop When an Error Occurs (EOIO)Queue stops processing after the first failed message

Full Processing between Continue When an Error Occurs (EO) and Stop When an Error Occurs (EOIO)

image

12. Key Functional Rules

Continue Mode


Stop Mode


Reprocessing Rule

Reprocessing or executing the interface again is only allowed when:

Queue Status = Ready

If queue status is:

then processing actions are blocked until the queue status is manually changed back to Ready.
Open this article in the interactive viewer →