mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-28 06:19:21 +00:00
ARTEMIS-856 small fix to avoid re-distributor being assigned a group
This commit is contained in:
parent
a78ed9a2b3
commit
b0d36ebc50
@ -2531,7 +2531,7 @@ public class QueueImpl extends CriticalComponentImpl implements Queue {
|
||||
|
||||
removeMessageReference(holder, ref);
|
||||
|
||||
if (groupID != null && groupConsumer == null) {
|
||||
if (groupID != null && groupConsumer == null && redistributor == null) {
|
||||
groups.put(groupID, consumer);
|
||||
}
|
||||
|
||||
@ -3110,7 +3110,7 @@ public class QueueImpl extends CriticalComponentImpl implements Queue {
|
||||
HandleStatus status = handle(ref, consumer);
|
||||
|
||||
if (status == HandleStatus.HANDLED) {
|
||||
if (groupID != null && groupConsumer == null) {
|
||||
if (groupID != null && groupConsumer == null && redistributor == null) {
|
||||
groups.put(groupID, consumer);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user