Skip to content

Overflow mode reject-publish not respected by shovel #1357

@johanrhodin

Description

@johanrhodin

Describe the bug
Sending messages with a shovel to a queue that is full (x-max-length has been reached) with x-overflow: "reject-publish" makes the shovel drain the upstream queue.

Describe your setup
LavinMQ 2.5.rc.2, 3-node cluster

How to reproduce
Run attached script, Fill q1 with 100k messages. The shovel should fill q2 with 100 messages and the rest should be kept in q2. Instead q1 is drained into the void.

lmq_reject-overflow.sh

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions