qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r583804 - /incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer_0_10.java
Date Thu, 11 Oct 2007 12:43:44 GMT
Author: arnaudsimon
Date: Thu Oct 11 05:43:44 2007
New Revision: 583804

URL: http://svn.apache.org/viewvc?rev=583804&view=rev
Log:
Updated to send empty payload

Modified:
    incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer_0_10.java

Modified: incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer_0_10.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer_0_10.java?rev=583804&r1=583803&r2=583804&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer_0_10.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer_0_10.java
Thu Oct 11 05:43:44 2007
@@ -69,7 +69,10 @@
         // set the payload
         try
         {
-            qpidityMessage.appendData(message.getData().buf());
+            if (message.getData() != null)
+            {
+                qpidityMessage.appendData(message.getData().buf());
+            }
         }
         catch (IOException e)
         {



Mime
View raw message