qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r580470 - /incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer_0_10.java
Date Fri, 28 Sep 2007 19:51:18 GMT
Author: arnaudsimon
Date: Fri Sep 28 12:51:17 2007
New Revision: 580470

URL: http://svn.apache.org/viewvc?rev=580470&view=rev
Log:
added messageID to sent messages

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=580470&r1=580469&r2=580470&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
Fri Sep 28 12:51:17 2007
@@ -96,6 +96,7 @@
         BasicContentHeaderProperties contentHeaderProperties = message.getContentHeaderProperties();
         // set the application properties
         qpidityMessage.getMessageProperties().setContentType(contentHeaderProperties.getContentType().toString());
+        qpidityMessage.getMessageProperties().setMessageId(message.getJMSMessageID()) ; 
    
         AMQShortString correlationID = contentHeaderProperties.getCorrelationId();
         if( correlationID != null )
         {



Mime
View raw message