-
1. Re: Hornetq-2.2.14 FINAL JMSXGroupID being changed in _HQ_GROUP_ID
gaohoward Nov 13, 2012 10:28 PM (in response to dc-williams)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.
Howard
-
2. Re: Hornetq-2.2.14 FINAL JMSXGroupID being changed in _HQ_GROUP_ID
dc-williams Nov 14, 2012 3:35 AM (in response to gaohoward)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:
tm.getStringProperty("JMSXGroupID");
the value returned is always null.
Further, if I iterate through all the properties of the message, the JMSXGroupID property is not present.
Any clues?
Dan
-
3. Re: Hornetq-2.2.14 FINAL JMSXGroupID being changed in _HQ_GROUP_ID
ataylor Nov 14, 2012 3:56 AM (in response to dc-williams)could you
a) check with the latest version
b) if it still fails provide a test and attach it to a jira (or this post)