Class GroupFirstMessageReference

java.lang.Object
org.apache.activemq.artemis.core.server.impl.GroupFirstMessageReference
All Implemented Interfaces:
MessageReference

public class GroupFirstMessageReference extends Object implements MessageReference
This MessageReference should only be created the first time a group is assigned to a consumer, it allows us to make a copy of the message to add the property safely as a delivery semantic, without affecting the underlying message.

The overhead is low, as noted above only should be created on first message in a group to a consumer.