activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: STOMP C prefetchSize question
Date Wed, 27 Sep 2006 06:50:59 GMT
On 9/26/06, Dhawan, Vikram (LNG-DAY) <vikram.dhawan@lexisnexis.com> wrote:
> Hi,
>
>
>
> On STOMP webpage where it says ActiveMQ extensions to STOMP. It says
> activemq.prefetchSize expects a int type value. But from my earlier
> question we can only set string value to a header property using STOMP C
> client. Will prefetchSize still work if I set it as a string form
> number? Some thing like as follows
>
>
>
> apr_hash_set(frame.headers, "activemq.prefetchSize",
> APR_HASH_KEY_STRING, "1");

Yes.  All Stomp headers are Strings on the wire - the documentation
just means use an integer String representation.
-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message