Re: MQTT retained messages with weird characters

2017-02-06 Thread Clebert Suconic
gth = endOfMessagePosition - BUFFER_HEADER_SPACE; >> >> buffer.setIndex(0, BUFFER_HEADER_SPACE); >> >> buffer.writeBytes(buff, start, length); >> >> decode(); >> >> buff.readerIndex(start + length); >> >> buff.writ

Re: MQTT retained messages with weird characters

2017-02-06 Thread Francesco PADOVANI
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

Re: MQTT retained messages with weird characters

2017-02-06 Thread Martyn Taylor
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

Re: MQTT retained messages with weird characters

2017-01-12 Thread Francesco PADOVANI
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

Re: MQTT retained messages with weird characters

2017-01-11 Thread Martyn Taylor
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

Re: MQTT retained messages with weird characters

2017-01-11 Thread Clebert Suconic
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 > > > > _

Re: MQTT retained messages with weird characters

2017-01-11 Thread Francesco PADOVANI
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

Re: MQTT retained messages with weird characters

2017-01-10 Thread Clebert Suconic
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