This closes #2375
This commit is contained in:
commit
0630a18135
|
@ -2531,7 +2531,7 @@ public class QueueImpl extends CriticalComponentImpl implements Queue {
|
||||||
|
|
||||||
removeMessageReference(holder, ref);
|
removeMessageReference(holder, ref);
|
||||||
|
|
||||||
if (groupID != null && groupConsumer == null) {
|
if (groupID != null && groupConsumer == null && redistributor == null) {
|
||||||
groups.put(groupID, consumer);
|
groups.put(groupID, consumer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3110,7 +3110,7 @@ public class QueueImpl extends CriticalComponentImpl implements Queue {
|
||||||
HandleStatus status = handle(ref, consumer);
|
HandleStatus status = handle(ref, consumer);
|
||||||
|
|
||||||
if (status == HandleStatus.HANDLED) {
|
if (status == HandleStatus.HANDLED) {
|
||||||
if (groupID != null && groupConsumer == null) {
|
if (groupID != null && groupConsumer == null && redistributor == null) {
|
||||||
groups.put(groupID, consumer);
|
groups.put(groupID, consumer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue