gth = endOfMessagePosition - BUFFER_HEADER_SPACE;
>>
>> buffer.setIndex(0, BUFFER_HEADER_SPACE);
>>
>> buffer.writeBytes(buff, start, length);
>>
>> decode();
>>
>> buff.readerIndex(start + length);
>>
>> buff.writ
Hi Martyn,
great to know it!
Thanks a lot for your work.
Francesco
From: Martyn Taylor
Sent: Monday, February 6, 2017 4:55:37 PM
To: users@activemq.apache.org
Subject: Re: MQTT retained messages with weird characters
Hi Francesco,
It appears that there is
buffer.setIndex(0, BUFFER_HEADER_SPACE);
>
> buffer.writeBytes(buff, start, length);
>
> decode();
>
> buff.readerIndex(start + length);
>
> buff.writerIndex(start + endOfBodyPosition);
>
>}
>
>
>
> Thanks a lot for your help and your pat
ff.writerIndex(start + endOfBodyPosition);
}
Thanks a lot for your help and your patience.
Francesco
From: Martyn Taylor
Sent: Wednesday, January 11, 2017 3:53:00 PM
To: users@activemq.apache.org
Subject: Re: MQTT retained messages with weird charact
al?). Until
> the
> > broker keeps the retained messages in ram it works. When it needs to
> recover
> > the retained messages from the file system, clients receive them with
> weird
> > chars.
> > And I suspect the same issue appears when RAM is full and messages start
> to
> > be paged... but this case i
he file system, clients receive them with weird
> chars.
> And I suspect the same issue appears when RAM is full and messages start to
> be paged... but this case is a bit more difficult to test in a systematic
> way.
>
>
> Francesco
>
>
>
> _
t Suconic
Sent: Tuesday, January 10, 2017 7:43 PM
To: users@activemq.apache.org
Subject: Re: MQTT retained messages with weird characters
Do you have a working test you can share?
On Tue, Jan 10, 2017 at 12:07 PM, Francesco PADOVANI
wrote:
> Hello,
>
> I'm trying the Apache Artemi
Do you have a working test you can share?
On Tue, Jan 10, 2017 at 12:07 PM, Francesco PADOVANI
wrote:
> Hello,
>
> I'm trying the Apache Artemis Broker (ver. 1.5.1) for MQTT protocol.
>
> Exactly I'm testing the retained feature for messages of MQTT protocol.
>
> While the broker is up it seems t
Hello,
I'm trying the Apache Artemis Broker (ver. 1.5.1) for MQTT protocol.
Exactly I'm testing the retained feature for messages of MQTT protocol.
While the broker is up it seems to work well:
a) a client publishes a retained message to a specific topic
b) any client which then subscribes tha