summaryrefslogtreecommitdiff
path: root/qpid/java/client/example
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-02-14 03:54:04 +0000
committerRafael H. Schloming <rhs@apache.org>2008-02-14 03:54:04 +0000
commit8ac4011c539208d38c35178d9127408a227a4614 (patch)
treebf9b6f03ad3cc841ec1fcf8bae5e64a6fce70b24 /qpid/java/client/example
parent50c2546e260f7afdbfd09cbb296921f5408dbf7f (diff)
downloadqpid-python-8ac4011c539208d38c35178d9127408a227a4614.tar.gz
print message text directly
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627654 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client/example')
-rw-r--r--qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Publisher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Publisher.java b/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Publisher.java
index fb22966b11..360b2c6aed 100644
--- a/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Publisher.java
+++ b/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Publisher.java
@@ -125,7 +125,7 @@ public class Publisher
for (int i=1; i <= 6; i++)
{
message.setText("message " + i);
- System.out.println(CLASS + ": Sending message: " + i);
+ System.out.println(CLASS + ": Sending " + message.getText());
messagePublisher
.send(message, DeliveryMode.PERSISTENT, Message.DEFAULT_PRIORITY, Message.DEFAULT_TIME_TO_LIVE);
}