Author: jmesnil
Date: 2010-01-22 09:25:11 -0500 (Fri, 22 Jan 2010)
New Revision: 8842
Modified:
trunk/examples/jms/message-group/readme.html
Log:
https://jira.jboss.org/jira/browse/HORNETQ-276: message-group jms example's
readme.html is incorrect
* fixed code listing
Modified: trunk/examples/jms/message-group/readme.html
===================================================================
--- trunk/examples/jms/message-group/readme.html 2010-01-22 13:21:27 UTC (rev 8841)
+++ trunk/examples/jms/message-group/readme.html 2010-01-22 14:25:11 UTC (rev 8842)
@@ -77,7 +77,7 @@
for (int i = 0; i < msgCount; i++)
{
groupMessages[i] = session.createTextMessage("Group-0 message " +
i);
- groupMessages[i].setStringProperty(HornetQMessage.JMSXGROUPID,
"Group-0");
+ groupMessages[i].setStringProperty("JMSXGroupID",
"Group-0");
producer.send(groupMessages[i]);
System.out.println("Sent message: " + groupMessages[i].getText());
}