The _HQ_GROUP_ID is not meant for JMS clients. HornetQ will automatically converts the property if you use JMS clients, like:
TextMessage m = (TextMessage) consumer.receive(5000);
String value = m.getStringProperty("JMSXGroupID"));
Despite what you see in the jconsole, you still get the same value as you set.
I thought that was supposed to be the case but it's not actually happening as I mentioned in:
This is the same if subscribing via the JBOSS5 messaging bridge or a stand-alone JAVA JMS client connecting directly to HORNETQ JMS (we wanted to rule out the possibility
that the property was lost across the JBOSS5 / JMS bridge).
When connecting with a JMS client and calling:
the value returned is always null.
Further, if I iterate through all the properties of the message, the JMSXGroupID property is not present.
a) check with the latest version
b) if it still fails provide a test and attach it to a jira (or this post)