You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2008/02/14 04:54:06 UTC
svn commit: r627654 -
/incubator/qpid/trunk/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Publisher.java
Author: rhs
Date: Wed Feb 13 19:54:04 2008
New Revision: 627654
URL: http://svn.apache.org/viewvc?rev=627654&view=rev
Log:
print message text directly
Modified:
incubator/qpid/trunk/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Publisher.java
Modified: incubator/qpid/trunk/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Publisher.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Publisher.java?rev=627654&r1=627653&r2=627654&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Publisher.java (original)
+++ incubator/qpid/trunk/qpid/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/pubsub/Publisher.java Wed Feb 13 19:54:04 2008
@@ -125,7 +125,7 @@
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);
}