This closes #2424
This commit is contained in:
commit
a20d7a0339
|
@ -291,8 +291,7 @@ public class CoreMessage extends RefCountMessage implements ICoreMessage {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getGroupSequence() {
|
public int getGroupSequence() {
|
||||||
final Integer integer = this.getIntProperty(Message.HDR_GROUP_SEQUENCE);
|
return containsProperty(Message.HDR_GROUP_SEQUENCE) ? getIntProperty(Message.HDR_GROUP_SEQUENCE) : 0;
|
||||||
return integer == null ? 0 : integer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -266,7 +266,11 @@ public class ServerJMSMessage implements Message {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public final int getIntProperty(String name) throws JMSException {
|
public final int getIntProperty(String name) throws JMSException {
|
||||||
return message.getIntProperty(name);
|
if (MessageUtil.JMSXGROUPSEQ.equals(name)) {
|
||||||
|
return message.getGroupSequence();
|
||||||
|
} else {
|
||||||
|
return message.getIntProperty(name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue