JMS headers and properties

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

JMS headers and properties

Katherine Xie

Now I am trying to add user defined property to stomp frame header and want to do filtering,

Here is what I did:

 

apr_hash_set(frame.headers, "jms.myProperty", APR_HASH_KEY_STRING, "myValue");

 

But it seems ActiveMQ doesn’t recognize it. I am using 3.1.

 

Any thoughts?

 

Katherine

 

Reply | Threaded
Open this post in threaded view
|

Re: JMS headers and properties

James Strachan-2
FWIW yesterday I was testing the use of custom headers and selectors on subscriptions with Stomp and ActiveMQ and found a few bugs. Its working great now in SVN HEAD of ActiveMQ at Apache and will be released shortly as 4.0-M5.

James

On 14 Feb 2006, at 20:40, Katherine Xie wrote:

Now I am trying to add user defined property to stomp frame header and want to do filtering,

Here is what I did:

 

apr_hash_set(frame.headers, "jms.myProperty", APR_HASH_KEY_STRING, "myValue");

 

But it seems ActiveMQ doesn’t recognize it. I am using 3.1.

 

Any thoughts?

 

Katherine