[hornetq-commits] JBoss hornetq SVN: r10151 - branches/Branch_2_2_EAP/examples/jms/large-message/src/org/hornetq/jms/example.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Jan 27 13:34:24 EST 2011
Author: clebert.suconic at jboss.com
Date: 2011-01-27 13:34:24 -0500 (Thu, 27 Jan 2011)
New Revision: 10151
Modified:
branches/Branch_2_2_EAP/examples/jms/large-message/src/org/hornetq/jms/example/LargeMessageExample.java
Log:
small tweak
Modified: branches/Branch_2_2_EAP/examples/jms/large-message/src/org/hornetq/jms/example/LargeMessageExample.java
===================================================================
--- branches/Branch_2_2_EAP/examples/jms/large-message/src/org/hornetq/jms/example/LargeMessageExample.java 2011-01-27 14:06:20 UTC (rev 10150)
+++ branches/Branch_2_2_EAP/examples/jms/large-message/src/org/hornetq/jms/example/LargeMessageExample.java 2011-01-27 18:34:24 UTC (rev 10151)
@@ -150,7 +150,7 @@
// an empty body.
BytesMessage messageReceived = (BytesMessage)messageConsumer.receive(120000);
- System.out.println("Received message with: " + messageReceived.getBodyLength() +
+ System.out.println("Received message with: " + messageReceived.getLongProperty("_HQ_LARGE_SIZE") +
" bytes. Now streaming to file on disk.");
// Step 13. We set an OutputStream on the message. This causes the message body to be written to the
More information about the hornetq-commits
mailing list