activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Daniels <>
Subject Re: Null pointer exception in AnyProtocolCodec using WebSockets
Date Tue, 22 May 2012 17:56:36 GMT
On 22/05/12 15:23, Hiram Chirino wrote:
>>> One other thing, at the risk of going too far OT for dev list, I can't
>>> seem to get topic retained messages to work (on any transport). On
>>> subscribing to a topic that should have retained messages, I don't see any
>>> initial frames at all. But if I subscribe to the topic while the messages
>>> are sent, I can see that that "retain:true" header is correctly set on them.
>>> My understanding is that upon a new subscription to the topic, the last
>>> retained message should be sent? Am I misunderstanding what retain:true
>>> should do here? Is there any caveats I should be aware of about it?
>> That sounds about right.  Perhaps we have bug somewhere, I'll take a look.
>>   But please open issue on the issue tracker at:
> Hi Will,
> The problem is that you should use "retain:set" instead of "retain:true".
>   Could you try that out?

Yes that works now, thank you Hiram!

I couldn't understand where I got the wrong semantics from, but eventually I 
found the culprit:

The remainder of the documentation correctly says "retain:set" it was only in 
the example message.


View raw message