activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mittler, Nathan" <nathan.mitt...@sensis.com>
Subject RE: setting jms property using stop c
Date Wed, 05 Apr 2006 18:06:41 GMT
FYI, a new version of CMS is in the works that will be a full
implementation of stomp and will provide the ability to set properties
in the messages - so stay tuned!

If my memory serves me on the stomp c api, you can set properties in the
frame header via an APR. 

In their example, they manually set the login as so:

apr_hash_set(frame.headers, "login", APR_HASH_KEY_STRING, "hchirino");

The full example is here:
http://svn.stomp.codehaus.org/trunk/c/src/main.c?view=markup

You should be able to set user-defined properties in this way as well.

Hope this helps,
Nate


-----Original Message-----
From: vik Dhawan [mailto:vikram.dhawan@lexisnexis.com] 
Sent: Wednesday, April 05, 2006 1:56 PM
To: activemq-dev@geronimo.apache.org
Subject: Re: setting jms property using stop c


I looked at C api in Stomp and didn't find the way to set property. Then
I
went ahead and looked in the CMS   implementation for stomp also and not
found there either.

thanks!

--
View this message in context:
http://www.nabble.com/setting-jms-property-using-stop-c-t1394723.html#a3
769983
Sent from the ActiveMQ - Dev forum at Nabble.com.


Mime
View raw message