activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mittler, Nathan" <nathan.mitt...@sensis.com>
Subject RE: activemq-cpp setStringProperty
Date Thu, 05 Apr 2007 19:18:23 GMT
Yup - that needs to be fixed.  I've created an issue to capture this:
https://issues.apache.org/activemq/browse/AMQCPP-96 

We're going to be releasing v2.0 very soon - we should be able to get
this into 2.0 without a problem.

Thanks!
Nate

> -----Original Message-----
> From: cmaxo [mailto:cmaxo@engineer.com] 
> Sent: Thursday, April 05, 2007 1:07 PM
> To: users@activemq.apache.org
> Subject: activemq-cpp setStringProperty
> 
> 
> I'm trying to set the JMSXGroupID on a text message using 
> c++.  Whenever I set this property I get an 
> IllegalArgumentException thrown b/c this property is a 
> pre-defined header.  Is there another way that I should be 
> setting the groupid for a message?  Here is a sample of what 
> I'm trying to do:
> 
> TextMessage* textMessage = session->createTextMessage("hello");
> textMessage->setStringProperty("JMSXGroupID", "1234");
> 
> I looked in the source code in StompMessage.h and the 
> implementation of setStringProperty first calls a function 
> called testProperty.  testPropety checks to see if the name 
> of the property is predefined.  So, I'm thinking that I need 
> to set the value of the header in some other way but I can't 
> seem to figure out how.  If anyone could tell me how to set 
> this up so that I can use message groups correctly I would 
> greatly appreciate it.
> 
> corey
> --
> View this message in context: 
> http://www.nabble.com/activemq-cpp-setStringProperty-tf3532714
s2354.html#a9859793
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> 
> 

Mime
View raw message