Skip to content

Ensure Strict Ordering with Single Active and Exclusive Consumers #2482

Closed
@garyrussell

Description

@garyrussell

When using exclusive or Single Active consumers, add an option to terminate the container immediately on stop.

Currently, the consumer is canceled and the remaining messages are processed; this allows another consumer to start consuming from beyond the prefetch.

When this option is set; defer the cancel until after the current record is processed (successfully or not) and requeue all prefetched messages.

See spring-projects/spring-integration#8668

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions